	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjd_s311_req_data
_adjd_s311_req_data:                    ## @adjd_s311_req_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_iio_priv
	movq	%rax, %r14
	movq	(%rax), %rdi
	movq	_ADJD_S311_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_ADJD_S311_CTRL_GSSR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.1:
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.2:
	xorl	%ebx, %ebx
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.3:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.4:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.5:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.6:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.7:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.8:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.9:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.10:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.11:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.12:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.13:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.14:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.15:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.16:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.17:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.18:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.19:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_32
## %bb.20:
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.21:
	movl	$20, %edi
	callq	_msleep
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_33
LBB0_32:
	movl	%eax, %ebx
LBB0_33:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADJD_S311_CTRL,4,2             ## @ADJD_S311_CTRL
	.comm	_ADJD_S311_CTRL_GSSR,4,2        ## @ADJD_S311_CTRL_GSSR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adjd_s311_req_data() failed, data not ready\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_adjd_s311_req_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjd_s311_req_data
_adjd_s311_req_data:                    ; @adjd_s311_req_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_iio_priv
	mov	x19, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x21, _ADJD_S311_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ADJD_S311_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x20, _ADJD_S311_CTRL_GSSR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ADJD_S311_CTRL_GSSR@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.1:
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.2:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.3:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.4:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.5:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.6:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.7:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.8:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.9:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.10:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.11:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.12:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.13:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.14:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.15:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.16:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.17:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.18:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.19:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_23
; %bb.20:
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.21:
	mov	w0, #20
	bl	_msleep
	ldr	x0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_23
LBB0_22:
	mov	w0, #0
LBB0_23:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADJD_S311_CTRL,4,2             ; @ADJD_S311_CTRL
	.comm	_ADJD_S311_CTRL_GSSR,4,2        ; @ADJD_S311_CTRL_GSSR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adjd_s311_req_data() failed, data not ready\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_adjd_s311_req_data
.subsections_via_symbols
