	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_async_struct
_get_async_struct:                      ## @get_async_struct
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_rs_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movslq	%edi, %rax
	leaq	(%rax,%rax,2), %r13
	incl	20(%rbx,%r13,8)
	movq	%rsi, %r14
	movq	(%rbx,%r13,8), %rax
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	%rax, (%r14)
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%edi, %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r12
	leaq	(%rbx,%r13,8), %rcx
	movq	_SERIAL_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movl	16(%rbx,%r13,8), %eax
	movl	%eax, 28(%r12)
	movl	12(%rbx,%r13,8), %eax
	movl	%eax, 24(%r12)
	movl	8(%rbx,%r13,8), %eax
	movq	%rcx, %rbx
	movl	%eax, 20(%r12)
	movl	%r15d, (%r12)
	movq	%r12, %rdi
	addq	$16, %rdi
	movq	_do_softint@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_tasklet_init
	movq	%rbx, 8(%r12)
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	callq	_kfree
	movq	(%rbx), %rax
	jmp	LBB0_1
LBB0_7:
	leaq	(%rbx,%r13,8), %rax
	addq	$20, %rax
	decl	(%rax)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_8:
	movq	%r12, (%rbx)
	movq	%r12, (%r14)
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_rs_table,8,3                   ## @rs_table
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SERIAL_MAGIC,4,2               ## @SERIAL_MAGIC
	.comm	_do_softint,4,2                 ## @do_softint
	.no_dead_strip	_get_async_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_async_struct
_get_async_struct:                      ; @get_async_struct
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
Lloh0:
	adrp	x8, _rs_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rs_table@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	w8, #24
	smaddl	x22, w0, w8, x23
	mov	x24, x22
	ldr	w8, [x24, #20]!
	add	w8, w8, #1
	str	w8, [x24]
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.1:
	mov	w0, #0
LBB0_2:
	str	x8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x20, x0
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	sxtw	x8, w20
Lloh6:
	adrp	x9, _SERIAL_MAGIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SERIAL_MAGIC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #24
	madd	x8, x8, x10, x23
	ldr	w10, [x8, #16]
	stp	w10, w9, [x0, #28]
	ldr	d0, [x8, #8]
	stur	d0, [x0, #20]
	str	w20, [x0], #16
Lloh9:
	adrp	x8, _do_softint@GOTPAGE
Lloh10:
	ldr	x8, [x8, _do_softint@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_tasklet_init
	str	x22, [x21, #8]
	ldr	x8, [x22]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x21
	bl	_kfree
	mov	w0, #0
	ldr	x8, [x22]
	b	LBB0_2
LBB0_7:
	ldr	w8, [x24]
	sub	w8, w8, #1
	str	w8, [x24]
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_8:
	mov	w0, #0
	str	x21, [x22]
	str	x21, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_rs_table,8,3                   ; @rs_table
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SERIAL_MAGIC,4,2               ; @SERIAL_MAGIC
	.comm	_do_softint,4,2                 ; @do_softint
	.no_dead_strip	_get_async_struct
.subsections_via_symbols
