	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_dummy_probe
_iio_dummy_probe:                       ## @iio_dummy_probe
	.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
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	$4, %edi
	callq	_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %rdi
	callq	_mutex_init
	movq	%r12, %rdi
	callq	_iio_dummy_init_device
	movq	%r12, (%r14)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_kstrdup
	movl	%eax, 24(%r12)
	movq	_iio_dummy_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 20(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 16(%r12)
	movq	_iio_dummy_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_iio_simple_dummy_events_register
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	callq	_iio_simple_dummy_configure_buffer
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%r12, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.14:
	movq	_iio_dummy_type@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_iio_swd_group_init_type_name
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_5:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_9:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_iio_simple_dummy_unconfigure_buffer
LBB0_10:
	movq	%r12, %rdi
	callq	_iio_simple_dummy_events_unregister
LBB0_11:
	movq	%r12, %rdi
	callq	_iio_device_free
LBB0_12:
	movq	%r14, %rdi
	callq	_kfree
LBB0_13:
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_iio_dummy_channels,4,2         ## @iio_dummy_channels
	.comm	_iio_dummy_info,4,2             ## @iio_dummy_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_iio_dummy_type,4,2             ## @iio_dummy_type
	.no_dead_strip	_iio_dummy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_dummy_probe
_iio_dummy_probe:                       ; @iio_dummy_probe
	.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	x21, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	w0, #4
	bl	_iio_device_alloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	bl	_iio_priv
	bl	_mutex_init
	mov	x0, x20
	bl	_iio_dummy_init_device
	str	x20, [x19]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_kstrdup
Lloh2:
	adrp	x8, _iio_dummy_channels@GOTPAGE
Lloh3:
	ldr	x8, [x8, _iio_dummy_channels@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #20]
	mov	x0, x8
	bl	_ARRAY_SIZE
Lloh5:
	adrp	x8, _iio_dummy_info@GOTPAGE
Lloh6:
	ldr	x8, [x8, _iio_dummy_info@GOTPAGEOFF]
	str	w0, [x20, #16]
	str	x8, [x20, #8]
Lloh7:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x20
	bl	_iio_simple_dummy_events_register
	tbnz	w0, #31, LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_iio_simple_dummy_configure_buffer
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_iio_device_register
	tbnz	w0, #31, LBB0_10
; %bb.5:
Lloh10:
	adrp	x2, _iio_dummy_type@GOTPAGE
Lloh11:
	ldr	x2, [x2, _iio_dummy_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x21
	bl	_iio_swd_group_init_type_name
	mov	x0, x19
	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
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_14
LBB0_7:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_13
LBB0_8:
	mov	x22, x0
	b	LBB0_12
LBB0_9:
	mov	x22, x0
	b	LBB0_11
LBB0_10:
	mov	x22, x0
	mov	x0, x20
	bl	_iio_simple_dummy_unconfigure_buffer
LBB0_11:
	mov	x0, x20
	bl	_iio_simple_dummy_events_unregister
LBB0_12:
	mov	x0, x20
	bl	_iio_device_free
LBB0_13:
	mov	x0, x19
	bl	_kfree
LBB0_14:
	mov	x0, x22
	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
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_iio_dummy_channels,4,2         ; @iio_dummy_channels
	.comm	_iio_dummy_info,4,2             ; @iio_dummy_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_iio_dummy_type,4,2             ; @iio_dummy_type
	.no_dead_strip	_iio_dummy_probe
.subsections_via_symbols
