	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_dummy_evgen_create
_iio_dummy_evgen_create:                ## @iio_dummy_evgen_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	movq	_iio_evgen@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	addq	$4, %rax
	movq	_IIO_EVENTGEN_NO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_irq_sim_init
	movq	(%r14), %rdi
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	addq	$4, %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_irq_sim_irqnum
	movq	(%r14), %rdi
	movl	%eax, 8(%rdi)
	callq	_mutex_init
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %ebx
	callq	_kfree
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_iio_evgen,8,3                  ## @iio_evgen
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IIO_EVENTGEN_NO,4,2            ## @IIO_EVENTGEN_NO
	.no_dead_strip	_iio_dummy_evgen_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_dummy_evgen_create
_iio_dummy_evgen_create:                ; @iio_dummy_evgen_create
	.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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
Lloh3:
	adrp	x20, _iio_evgen@GOTPAGE
Lloh4:
	ldr	x20, [x20, _iio_evgen@GOTPAGEOFF]
	str	x0, [x20]
	cbz	x0, LBB0_3
; %bb.1:
	add	x0, x0, #4
Lloh5:
	adrp	x8, _IIO_EVENTGEN_NO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IIO_EVENTGEN_NO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_irq_sim_init
	mov	x19, x0
	ldr	x0, [x20]
	tbnz	w19, #31, LBB0_4
; %bb.2:
	add	x0, x0, #4
	mov	w1, #0
	bl	_irq_sim_irqnum
	ldr	x8, [x20]
	str	w0, [x8, #8]
	mov	x0, x8
	bl	_mutex_init
	mov	w19, #0
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_5
LBB0_4:
	bl	_kfree
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_iio_evgen,8,3                  ; @iio_evgen
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IIO_EVENTGEN_NO,4,2            ; @IIO_EVENTGEN_NO
	.no_dead_strip	_iio_dummy_evgen_create
.subsections_via_symbols
