	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp20x_usb_power_set_voltage_min
_axp20x_usb_power_set_voltage_min:      ## @axp20x_usb_power_set_voltage_min
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	cmpl	$4399999, %esi                  ## imm = 0x43237F
	jg	LBB0_6
## %bb.1:
	cmpl	$4199999, %esi                  ## imm = 0x40163F
	jg	LBB0_4
## %bb.2:
	cmpl	$4000000, %esi                  ## imm = 0x3D0900
	je	LBB0_9
## %bb.3:
	cmpl	$4100000, %esi                  ## imm = 0x3E8FA0
	je	LBB0_9
	jmp	LBB0_12
LBB0_6:
	cmpl	$4599999, %esi                  ## imm = 0x4630BF
	jg	LBB0_10
## %bb.7:
	cmpl	$4400000, %esi                  ## imm = 0x432380
	je	LBB0_9
## %bb.8:
	cmpl	$4500000, %esi                  ## imm = 0x44AA20
	je	LBB0_9
	jmp	LBB0_12
LBB0_4:
	cmpl	$4200000, %esi                  ## imm = 0x401640
	je	LBB0_9
## %bb.5:
	cmpl	$4300000, %esi                  ## imm = 0x419CE0
	je	LBB0_9
	jmp	LBB0_12
LBB0_10:
	cmpl	$4700000, %esi                  ## imm = 0x47B760
	je	LBB0_9
## %bb.11:
	cmpl	$4600000, %esi                  ## imm = 0x4630C0
	jne	LBB0_12
LBB0_9:
	addl	$-4000000, %esi                 ## imm = 0xFFC2F700
	shrl	$5, %esi
	imulq	$175921861, %rsi, %rax          ## imm = 0xA7C5AC5
	shrq	$39, %rax
	movl	(%rdi), %edi
	movq	_AXP20X_VBUS_IPSOUT_MGMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AXP20X_VBUS_VHOLD_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_AXP20X_VBUS_VHOLD_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, %ecx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AXP20X_VBUS_IPSOUT_MGMT,4,2    ## @AXP20X_VBUS_IPSOUT_MGMT
	.comm	_AXP20X_VBUS_VHOLD_MASK,4,2     ## @AXP20X_VBUS_VHOLD_MASK
	.comm	_AXP20X_VBUS_VHOLD_OFFSET,4,2   ## @AXP20X_VBUS_VHOLD_OFFSET
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_axp20x_usb_power_set_voltage_min
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp20x_usb_power_set_voltage_min
_axp20x_usb_power_set_voltage_min:      ; @axp20x_usb_power_set_voltage_min
	.cfi_startproc
; %bb.0:
	mov	w8, #9087
	movk	w8, #67, lsl #16
	cmp	w1, w8
	b.gt	LBB0_4
; %bb.1:
	mov	w8, #5695
	movk	w8, #64, lsl #16
	cmp	w1, w8
	b.gt	LBB0_7
; %bb.2:
	mov	w8, #2304
	movk	w8, #61, lsl #16
	cmp	w1, w8
	b.eq	LBB0_11
; %bb.3:
	mov	w8, #36768
	movk	w8, #62, lsl #16
	cmp	w1, w8
	b.eq	LBB0_11
	b	LBB0_12
LBB0_4:
	mov	w8, #12479
	movk	w8, #70, lsl #16
	cmp	w1, w8
	b.gt	LBB0_9
; %bb.5:
	mov	w8, #9088
	movk	w8, #67, lsl #16
	cmp	w1, w8
	b.eq	LBB0_11
; %bb.6:
	mov	w8, #43552
	movk	w8, #68, lsl #16
	cmp	w1, w8
	b.eq	LBB0_11
	b	LBB0_12
LBB0_7:
	mov	w8, #5696
	movk	w8, #64, lsl #16
	cmp	w1, w8
	b.eq	LBB0_11
; %bb.8:
	mov	w8, #40160
	movk	w8, #65, lsl #16
	cmp	w1, w8
	b.eq	LBB0_11
	b	LBB0_12
LBB0_9:
	mov	w8, #46944
	movk	w8, #71, lsl #16
	cmp	w1, w8
	b.eq	LBB0_11
; %bb.10:
	mov	w8, #12480
	movk	w8, #70, lsl #16
	cmp	w1, w8
	b.ne	LBB0_12
LBB0_11:
	sub	w8, w1, #976, lsl #12           ; =3997696
	sub	w8, w8, #2304
	lsr	w8, w8, #5
	mov	w9, #23237
	movk	w9, #2684, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #39
	ldr	w0, [x0]
Lloh0:
	adrp	x9, _AXP20X_VBUS_IPSOUT_MGMT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AXP20X_VBUS_IPSOUT_MGMT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _AXP20X_VBUS_VHOLD_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AXP20X_VBUS_VHOLD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x9, _AXP20X_VBUS_VHOLD_OFFSET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AXP20X_VBUS_VHOLD_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w3, w8, w9
	b	_regmap_update_bits
LBB0_12:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AXP20X_VBUS_IPSOUT_MGMT,4,2    ; @AXP20X_VBUS_IPSOUT_MGMT
	.comm	_AXP20X_VBUS_VHOLD_MASK,4,2     ; @AXP20X_VBUS_VHOLD_MASK
	.comm	_AXP20X_VBUS_VHOLD_OFFSET,4,2   ; @AXP20X_VBUS_VHOLD_OFFSET
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_axp20x_usb_power_set_voltage_min
.subsections_via_symbols
