	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77650_led_brightness_set
_max77650_led_brightness_set:           ## @max77650_led_brightness_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_max77650_to_led
	movq	_MAX77650_LED_BR_MASK@GOTPCREL(%rip), %rcx
	movq	_MAX77650_LED_EN_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_LED_OFF@GOTPCREL(%rip), %rsi
	cmpl	%ebx, (%rsi)
	jne	LBB0_1
## %bb.2:
	movq	_MAX77650_LED_DISABLE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	jmp	LBB0_3
LBB0_1:
	movq	_MAX77650_LED_ENABLE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ebx
LBB0_3:
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX77650_LED_BR_MASK,4,2       ## @MAX77650_LED_BR_MASK
	.comm	_MAX77650_LED_EN_MASK,4,2       ## @MAX77650_LED_EN_MASK
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.comm	_MAX77650_LED_DISABLE,4,2       ## @MAX77650_LED_DISABLE
	.comm	_MAX77650_LED_ENABLE,4,2        ## @MAX77650_LED_ENABLE
	.no_dead_strip	_max77650_led_brightness_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77650_led_brightness_set
_max77650_led_brightness_set:           ; @max77650_led_brightness_set
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_max77650_to_led
Lloh0:
	adrp	x8, _MAX77650_LED_BR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX77650_LED_BR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MAX77650_LED_EN_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX77650_LED_EN_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x10, _LED_OFF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LED_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _MAX77650_LED_DISABLE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _MAX77650_LED_DISABLE@GOTPAGEOFF]
Lloh11:
	adrp	x12, _MAX77650_LED_ENABLE@GOTPAGE
Lloh12:
	ldr	x12, [x12, _MAX77650_LED_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
Lloh14:
	ldr	w12, [x12]
	orr	w12, w12, w19
	cmp	w10, w19
	csel	w3, w11, w12, eq
	orr	w2, w9, w8
	ldp	w1, w8, [x0]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX77650_LED_BR_MASK,4,2       ; @MAX77650_LED_BR_MASK
	.comm	_MAX77650_LED_EN_MASK,4,2       ; @MAX77650_LED_EN_MASK
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.comm	_MAX77650_LED_DISABLE,4,2       ; @MAX77650_LED_DISABLE
	.comm	_MAX77650_LED_ENABLE,4,2        ; @MAX77650_LED_ENABLE
	.no_dead_strip	_max77650_led_brightness_set
.subsections_via_symbols
