	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inv_mpu6050_probe_trigger      ## -- Begin function inv_mpu6050_probe_trigger
	.p2align	4, 0x90
_inv_mpu6050_probe_trigger:             ## @inv_mpu6050_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_iio_priv
	movq	%rax, %r14
	leaq	4(%rbx), %r15
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_iio_trigger_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	12(%r14), %esi
	movq	_iio_trigger_generic_data_rdy_poll@GOTPCREL(%rip), %rdx
	leaq	L_.str.1(%rip), %r8
	movq	%r15, %rdi
	movl	%r12d, %ecx
	movq	%rax, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	8(%r14), %edi
	callq	_regmap_get_device
	movq	(%r14), %rdi
	movl	%eax, 8(%rdi)
	movq	_inv_mpu_trigger_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%rdi)
	movq	%rbx, %rsi
	callq	_iio_trigger_set_drvdata
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_devm_iio_trigger_register
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	(%r14), %rdi
	callq	_iio_trigger_get
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	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	_iio_trigger_generic_data_rdy_poll,4,2 ## @iio_trigger_generic_data_rdy_poll
L_.str.1:                               ## @.str.1
	.asciz	"inv_mpu"

	.comm	_inv_mpu_trigger_ops,4,2        ## @inv_mpu_trigger_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inv_mpu6050_probe_trigger      ; -- Begin function inv_mpu6050_probe_trigger
	.p2align	2
_inv_mpu6050_probe_trigger:             ; @inv_mpu6050_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	x22, x1
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	add	x21, x19, #4
	ldp	w3, w2, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_iio_trigger_alloc
	str	x0, [x20]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x5, x0
	ldr	w1, [x20, #12]
Lloh2:
	adrp	x2, _iio_trigger_generic_data_rdy_poll@GOTPAGE
Lloh3:
	ldr	x2, [x2, _iio_trigger_generic_data_rdy_poll@GOTPAGEOFF]
Lloh4:
	adrp	x4, l_.str.1@PAGE
Lloh5:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x3, x22
	bl	_devm_request_irq
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_regmap_get_device
	ldr	x8, [x20]
	str	w0, [x8, #8]
Lloh6:
	adrp	x9, _inv_mpu_trigger_ops@GOTPAGE
Lloh7:
	ldr	x9, [x9, _inv_mpu_trigger_ops@GOTPAGEOFF]
	str	x9, [x8]
	mov	x0, x8
	mov	x1, x19
	bl	_iio_trigger_set_drvdata
	ldr	x1, [x20]
	mov	x0, x21
	bl	_devm_iio_trigger_register
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	x0, [x20]
	bl	_iio_trigger_get
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-dev%d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_iio_trigger_generic_data_rdy_poll,4,2 ; @iio_trigger_generic_data_rdy_poll
l_.str.1:                               ; @.str.1
	.asciz	"inv_mpu"

	.comm	_inv_mpu_trigger_ops,4,2        ; @inv_mpu_trigger_ops
.subsections_via_symbols
