	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_sensors_set_drdy_int_pin
_st_sensors_set_drdy_int_pin:           ## @st_sensors_set_drdy_int_pin
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_iio_priv
	movq	8(%rax), %rcx
	cmpl	$0, 20(%rcx)
	jne	LBB0_4
## %bb.1:
	cmpl	$0, 8(%rcx)
	je	LBB0_2
LBB0_4:
	movl	(%rbx), %edx
	cmpl	$2, %edx
	je	LBB0_9
## %bb.5:
	cmpl	$1, %edx
	jne	LBB0_11
## %bb.6:
	cmpl	$0, 16(%rcx)
	jne	LBB0_12
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_9:
	cmpl	$0, 4(%rcx)
	je	LBB0_10
LBB0_12:
	movl	%edx, (%rax)
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rbx)
	je	LBB0_17
## %bb.13:
	cmpl	$0, 12(%rcx)
	jne	LBB0_16
## %bb.14:
	cmpl	$0, (%rcx)
	je	LBB0_15
LBB0_16:
	movl	$1, 4(%rax)
	jmp	LBB0_17
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_2:
	movl	(%rbx), %edx
	xorl	%r15d, %r15d
	testl	%edx, %edx
	je	LBB0_17
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	jmp	LBB0_17
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_17:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DRDY on pin INT%d specified, but sensor does not support interrupts\n"

L_.str.1:                               ## @.str.1
	.asciz	"DRDY on INT1 not available.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"DRDY on INT2 not available.\n"

L_.str.3:                               ## @.str.3
	.asciz	"DRDY on pdata not valid.\n"

L_.str.4:                               ## @.str.4
	.asciz	"open drain requested but unsupported.\n"

	.no_dead_strip	_st_sensors_set_drdy_int_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_sensors_set_drdy_int_pin
_st_sensors_set_drdy_int_pin:           ; @st_sensors_set_drdy_int_pin
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_iio_priv
	ldr	x8, [x0, #8]
	ldr	w9, [x8, #20]
	cbnz	w9, LBB0_2
; %bb.1:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_12
LBB0_2:
	ldr	w9, [x20]
	cmp	w9, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w9, #1
	b.ne	LBB0_11
; %bb.4:
	ldr	w10, [x8, #16]
	cbnz	w10, LBB0_7
; %bb.5:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_6:
	ldr	w10, [x8, #4]
	cbz	w10, LBB0_15
LBB0_7:
	str	w9, [x0]
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_14
; %bb.8:
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_10
; %bb.9:
	ldr	w8, [x8]
	cbz	w8, LBB0_18
LBB0_10:
	mov	w8, #0
	mov	w9, #1
	str	w9, [x0, #4]
	b	LBB0_17
LBB0_11:
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_12:
	ldr	w2, [x20]
	cbz	w2, LBB0_14
; %bb.13:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_14:
	mov	w8, #0
	b	LBB0_17
LBB0_15:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_16:
	mov	x0, x19
	bl	_dev_err
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_17:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	w8, #0
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DRDY on pin INT%d specified, but sensor does not support interrupts\n"

l_.str.1:                               ; @.str.1
	.asciz	"DRDY on INT1 not available.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"DRDY on INT2 not available.\n"

l_.str.3:                               ; @.str.3
	.asciz	"DRDY on pdata not valid.\n"

l_.str.4:                               ; @.str.4
	.asciz	"open drain requested but unsupported.\n"

	.no_dead_strip	_st_sensors_set_drdy_int_pin
.subsections_via_symbols
