	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bh1770_led_cfg
_bh1770_led_cfg:                        ## @bh1770_led_cfg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %eax
	movq	_BH1770_I_LED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_BH1770_LED1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$6, %ecx
	movq	_BH1770_LED_5mA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	$3, %edx
	orl	%ecx, %edx
	orl	(%rdi), %edx
	movl	%eax, %edi
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BH1770_I_LED,4,2               ## @BH1770_I_LED
	.comm	_BH1770_LED1,4,2                ## @BH1770_LED1
	.comm	_BH1770_LED_5mA,4,2             ## @BH1770_LED_5mA
	.no_dead_strip	_bh1770_led_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bh1770_led_cfg
_bh1770_led_cfg:                        ; @bh1770_led_cfg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BH1770_I_LED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BH1770_I_LED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BH1770_LED1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BH1770_LED1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _BH1770_LED_5mA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BH1770_LED_5mA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w9, #3
	orr	w9, w9, w8, lsl #6
	ldp	w10, w8, [x0]
	orr	w2, w9, w10
	mov	x0, x8
	b	_i2c_smbus_write_byte_data
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BH1770_I_LED,4,2               ; @BH1770_I_LED
	.comm	_BH1770_LED1,4,2                ; @BH1770_LED1
	.comm	_BH1770_LED_5mA,4,2             ; @BH1770_LED_5mA
	.no_dead_strip	_bh1770_led_cfg
.subsections_via_symbols
