	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function request_data
_request_data:                          ## @request_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %edx
	movq	%rdi, %rbx
	movq	_LOCHNAGAR2_IMON_CTRL4@GOTPCREL(%rip), %r15
	movq	_LOCHNAGAR2_IMON_CH_SEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	(%r15), %esi
	movq	_LOCHNAGAR2_IMON_DATA_REQ_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	movl	$10000, %r9d                    ## imm = 0x2710
	callq	_regmap_read_poll_timeout
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	_LOCHNAGAR2_IMON_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movl	-28(%rbp), %eax
	shll	$16, %eax
	movl	%eax, (%r14)
	movq	_LOCHNAGAR2_IMON_DATA2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movl	-28(%rbp), %eax
	orl	%eax, (%r14)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_regmap_write
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCHNAGAR2_IMON_CTRL4,4,2      ## @LOCHNAGAR2_IMON_CTRL4
	.comm	_LOCHNAGAR2_IMON_DATA_REQ_MASK,4,2 ## @LOCHNAGAR2_IMON_DATA_REQ_MASK
	.comm	_LOCHNAGAR2_IMON_CH_SEL_SHIFT,4,2 ## @LOCHNAGAR2_IMON_CH_SEL_SHIFT
	.comm	_LOCHNAGAR2_IMON_DATA_RDY_MASK,4,2 ## @LOCHNAGAR2_IMON_DATA_RDY_MASK
	.comm	_LOCHNAGAR2_IMON_DATA1,4,2      ## @LOCHNAGAR2_IMON_DATA1
	.comm	_LOCHNAGAR2_IMON_DATA2,4,2      ## @LOCHNAGAR2_IMON_DATA2
	.no_dead_strip	_request_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function request_data
_request_data:                          ; @request_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x21, _LOCHNAGAR2_IMON_CTRL4@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LOCHNAGAR2_IMON_CTRL4@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _LOCHNAGAR2_IMON_DATA_REQ_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LOCHNAGAR2_IMON_DATA_REQ_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _LOCHNAGAR2_IMON_CH_SEL_SHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LOCHNAGAR2_IMON_CH_SEL_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	lsl	w10, w1, w10
	orr	w2, w10, w9
	mov	x1, x8
	bl	_regmap_write
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #1000
	mov	w5, #10000
	bl	_regmap_read_poll_timeout
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _LOCHNAGAR2_IMON_DATA1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOCHNAGAR2_IMON_DATA1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_regmap_read
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w8, [sp, #12]
	lsl	w8, w8, #16
	str	w8, [x20]
Lloh11:
	adrp	x8, _LOCHNAGAR2_IMON_DATA2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOCHNAGAR2_IMON_DATA2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_regmap_read
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	w8, [sp, #12]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_regmap_write
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCHNAGAR2_IMON_CTRL4,4,2      ; @LOCHNAGAR2_IMON_CTRL4
	.comm	_LOCHNAGAR2_IMON_DATA_REQ_MASK,4,2 ; @LOCHNAGAR2_IMON_DATA_REQ_MASK
	.comm	_LOCHNAGAR2_IMON_CH_SEL_SHIFT,4,2 ; @LOCHNAGAR2_IMON_CH_SEL_SHIFT
	.comm	_LOCHNAGAR2_IMON_DATA_RDY_MASK,4,2 ; @LOCHNAGAR2_IMON_DATA_RDY_MASK
	.comm	_LOCHNAGAR2_IMON_DATA1,4,2      ; @LOCHNAGAR2_IMON_DATA1
	.comm	_LOCHNAGAR2_IMON_DATA2,4,2      ; @LOCHNAGAR2_IMON_DATA2
	.no_dead_strip	_request_data
.subsections_via_symbols
