	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq24190_charger_get_iinlimit
_bq24190_charger_get_iinlimit:          ## @bq24190_charger_get_iinlimit
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_BQ24190_REG_ISC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_BQ24190_REG_ISC_IINLIM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BQ24190_REG_ISC_IINLIM_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_bq24190_isc_iinlim_values@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	leaq	-44(%rbp), %rcx
	movq	%rcx, (%rsp)
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	movl	%eax, %r9d
	callq	_bq24190_get_field_val
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	-44(%rbp), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BQ24190_REG_ISC,4,2            ## @BQ24190_REG_ISC
	.comm	_BQ24190_REG_ISC_IINLIM_MASK,4,2 ## @BQ24190_REG_ISC_IINLIM_MASK
	.comm	_BQ24190_REG_ISC_IINLIM_SHIFT,4,2 ## @BQ24190_REG_ISC_IINLIM_SHIFT
	.comm	_bq24190_isc_iinlim_values,4,2  ## @bq24190_isc_iinlim_values
	.no_dead_strip	_bq24190_charger_get_iinlimit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq24190_charger_get_iinlimit
_bq24190_charger_get_iinlimit:          ; @bq24190_charger_get_iinlimit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BQ24190_REG_ISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BQ24190_REG_ISC@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _BQ24190_REG_ISC_IINLIM_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BQ24190_REG_ISC_IINLIM_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _BQ24190_REG_ISC_IINLIM_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BQ24190_REG_ISC_IINLIM_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _bq24190_isc_iinlim_values@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bq24190_isc_iinlim_values@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
	mov	x0, x24
	bl	_ARRAY_SIZE
	mov	x5, x0
	add	x6, sp, #12
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_bq24190_get_field_val
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BQ24190_REG_ISC,4,2            ; @BQ24190_REG_ISC
	.comm	_BQ24190_REG_ISC_IINLIM_MASK,4,2 ; @BQ24190_REG_ISC_IINLIM_MASK
	.comm	_BQ24190_REG_ISC_IINLIM_SHIFT,4,2 ; @BQ24190_REG_ISC_IINLIM_SHIFT
	.comm	_bq24190_isc_iinlim_values,4,2  ; @bq24190_isc_iinlim_values
	.no_dead_strip	_bq24190_charger_get_iinlimit
.subsections_via_symbols
