	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ina226_set_int_time_vshunt
_ina226_set_int_time_vshunt:            ## @ina226_set_int_time_vshunt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	leal	-8245(%rbx), %eax
	cmpl	$-8106, %eax                    ## imm = 0xE056
	ja	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	_ina226_conv_time_tab@GOTPCREL(%rip), %r13
	movq	(%r13), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_find_closest
	movq	(%r13), %rcx
	movslq	%eax, %rdi
	movl	(%rcx,%rdi,4), %eax
	movl	%eax, (%r14)
	movq	_INA226_ITS_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, (%r15)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_INA226_SHIFT_ITS
	andl	(%rbx), %eax
	orl	%eax, (%r15)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ina226_conv_time_tab,8,3       ## @ina226_conv_time_tab
	.comm	_INA226_ITS_MASK,4,2            ## @INA226_ITS_MASK
	.no_dead_strip	_ina226_set_int_time_vshunt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ina226_set_int_time_vshunt
_ina226_set_int_time_vshunt:            ; @ina226_set_int_time_vshunt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w8, #-8245
	mov	w9, #-8106
	add	w8, w1, w8
	cmp	w8, w9
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh3:
	adrp	x23, _ina226_conv_time_tab@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ina226_conv_time_tab@GOTPAGEOFF]
	ldr	x22, [x23]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_find_closest
	ldr	x8, [x23]
	ldr	w8, [x8, w0, sxtw #2]
	str	w8, [x20]
Lloh5:
	adrp	x20, _INA226_ITS_MASK@GOTPAGE
Lloh6:
	ldr	x20, [x20, _INA226_ITS_MASK@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	bl	_INA226_SHIFT_ITS
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x20]
	and	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ina226_conv_time_tab,8,3       ; @ina226_conv_time_tab
	.comm	_INA226_ITS_MASK,4,2            ; @INA226_ITS_MASK
	.no_dead_strip	_ina226_set_int_time_vshunt
.subsections_via_symbols
