	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw210x_led_ctrl
_dw210x_led_ctrl:                       ## @dw210x_led_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	leaq	_dw210x_led_ctrl.led_off(%rip), %rax
	movq	%rax, -24(%rbp)
	movq	$1, -16(%rbp)
	movq	_DW2102_LED_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	_dw210x_led_ctrl.led_on(%rip), %rcx
	movq	%rcx, -24(%rbp)
LBB0_2:
	movq	(%rax), %rdi
	leaq	-24(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_dw210x_led_ctrl.led_off,4,2 ## @dw210x_led_ctrl.led_off
	.section	__DATA,__data
	.p2align	2                               ## @dw210x_led_ctrl.led_on
_dw210x_led_ctrl.led_on:
	.long	1                               ## 0x1

	.comm	_DW2102_LED_CTRL,4,2            ## @DW2102_LED_CTRL
	.no_dead_strip	_dw210x_led_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dw210x_led_ctrl
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dw210x_led_ctrl:                       ; @dw210x_led_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _dw210x_led_ctrl.led_off@PAGE
Lloh1:
	add	x8, x8, _dw210x_led_ctrl.led_off@PAGEOFF
	str	x8, [sp, #8]
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
Lloh4:
	adrp	x8, _DW2102_LED_CTRL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DW2102_LED_CTRL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	w1, LBB0_2
; %bb.1:
Lloh7:
	adrp	x9, _dw210x_led_ctrl.led_on@PAGE
Lloh8:
	add	x9, x9, _dw210x_led_ctrl.led_on@PAGEOFF
	str	x9, [sp, #8]
LBB0_2:
	ldr	x0, [x8]
	add	x1, sp, #8
	mov	w2, #1
	bl	_i2c_transfer
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_dw210x_led_ctrl.led_off,4,2 ; @dw210x_led_ctrl.led_off
	.section	__DATA,__data
	.p2align	2                               ; @dw210x_led_ctrl.led_on
_dw210x_led_ctrl.led_on:
	.long	1                               ; 0x1

	.comm	_DW2102_LED_CTRL,4,2            ; @DW2102_LED_CTRL
	.no_dead_strip	_dw210x_led_ctrl
.subsections_via_symbols
