	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adis_probe_trigger             ## -- Begin function adis_probe_trigger
	.p2align	4, 0x90
_adis_probe_trigger:                    ## @adis_probe_trigger
	.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, %r14
	movq	%rdi, %r15
	movl	4(%rsi), %esi
	movl	8(%r14), %edx
	leaq	L_.str(%rip), %rdi
	callq	_iio_trigger_alloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %rcx
	addq	$4, %rcx
	movq	%rcx, 8(%rax)
	movq	_adis_trigger_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_iio_trigger_set_drvdata
	movq	(%r15), %r8
	movq	8(%r15), %rax
	movl	(%rax), %edi
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r14), %ecx
	movq	_iio_trigger_generic_data_rdy_poll@GOTPCREL(%rip), %rsi
	callq	_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	(%r15), %rdi
	callq	_iio_trigger_register
	movl	%eax, %ebx
	movq	(%r15), %rdi
	callq	_iio_trigger_get
	movl	%eax, (%r14)
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.5:
	movq	(%r15), %rsi
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_free_irq
LBB0_6:
	movq	(%r15), %rdi
	callq	_iio_trigger_free
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_4:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-dev%d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adis_trigger_ops,4,2           ## @adis_trigger_ops
	.comm	_iio_trigger_generic_data_rdy_poll,4,2 ## @iio_trigger_generic_data_rdy_poll
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adis_probe_trigger             ; -- Begin function adis_probe_trigger
	.p2align	2
_adis_probe_trigger:                    ; @adis_probe_trigger
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x1, #4]
	ldr	w2, [x20, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iio_trigger_alloc
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
	add	x8, x8, #4
Lloh2:
	adrp	x9, _adis_trigger_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _adis_trigger_ops@GOTPAGEOFF]
	stp	x9, x8, [x0]
	mov	x1, x19
	bl	_iio_trigger_set_drvdata
	ldp	x4, x8, [x19]
	ldr	w0, [x8]
Lloh4:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	ldr	w3, [x20, #4]
Lloh7:
	adrp	x1, _iio_trigger_generic_data_rdy_poll@GOTPAGE
Lloh8:
	ldr	x1, [x1, _iio_trigger_generic_data_rdy_poll@GOTPAGEOFF]
	bl	_request_irq
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x0, [x19]
	bl	_iio_trigger_register
	mov	x21, x0
	ldr	x0, [x19]
	bl	_iio_trigger_get
	str	w0, [x20]
	cbz	w21, LBB0_6
; %bb.3:
	ldp	x1, x8, [x19]
	ldr	w0, [x8]
	bl	_free_irq
LBB0_4:
	ldr	x0, [x19]
	bl	_iio_trigger_free
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-dev%d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adis_trigger_ops,4,2           ; @adis_trigger_ops
	.comm	_iio_trigger_generic_data_rdy_poll,4,2 ; @iio_trigger_generic_data_rdy_poll
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
.subsections_via_symbols
