	.file	"extr_led.c_backlight_init_ports.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	backlight_init_ports
	.type	backlight_init_ports, @function
backlight_init_ports:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, 2
	call	PAL_MODE_ALTERNATE@PLT
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 8
	mov	edx, eax
	call	palSetPadMode@PLT
	lea	rsi, pwmCFG[rip]
	lea	rdi, PWMD4[rip]
	call	pwmStart@PLT
	cmp	QWORD PTR kb_backlight_config[rip+16], 0
	je	.L2
	cmp	QWORD PTR kb_backlight_config[rip+8], 0
	je	.L3
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	breathing_enable@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR kb_backlight_config[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	backlight_set@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edi, edi
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	backlight_set@PLT
	.cfi_endproc
.LFE0:
	.size	backlight_init_ports, .-backlight_init_ports
	.comm	pwmCFG,4,4
	.comm	kb_backlight_config,24,16
	.comm	PWMD4,4,4
	.comm	GPIOB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_led.c_backlight_init_ports.c"
	.text
	.align	2
	.global	backlight_init_ports
	.syntax unified
	.arm
	.fpu softvfp
	.type	backlight_init_ports, %function
backlight_init_ports:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, lr}
	mov	r0, #2
	ldr	r4, [r3]
	bl	PAL_MODE_ALTERNATE
	mov	r1, #8
	mov	r2, r0
	mov	r0, r4
	bl	palSetPadMode
	ldr	r1, .L6+4
	ldr	r0, .L6+8
	bl	pwmStart
	ldr	r3, .L6+12
	ldr	r0, [r3, #8]
	cmp	r0, #0
	beq	.L2
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L3
	pop	{r4, lr}
	b	breathing_enable
.L3:
	ldr	r0, [r3]
	pop	{r4, lr}
	b	backlight_set
.L2:
	pop	{r4, lr}
	b	backlight_set
.L7:
	.align	2
.L6:
	.word	GPIOB
	.word	pwmCFG
	.word	PWMD4
	.word	kb_backlight_config
	.size	backlight_init_ports, .-backlight_init_ports
	.comm	pwmCFG,4,4
	.comm	kb_backlight_config,12,4
	.comm	PWMD4,4,4
	.comm	GPIOB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
