	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function u32_init
_u32_init:                              ## @u32_init
	.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, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	$0, 32(%rax)
	incl	28(%rax)
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_gen_new_htid
	movl	%eax, (%rbx)
	movl	24(%r14), %eax
	movl	%eax, 24(%rbx)
	jmp	LBB0_7
LBB0_4:
	movl	$-2147483648, (%rbx)            ## imm = 0x80000000
	movl	24(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	(%r12), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movq	16(%r14), %rax
	movq	%rax, 16(%r15)
	movq	%r15, (%rax)
LBB0_7:
	incl	8(%r15)
	movq	(%r15), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, (%r15)
	movq	%r15, 8(%rbx)
	movq	%rbx, 8(%r14)
	movq	%r15, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_1:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_u32_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function u32_init
_u32_init:                              ; @u32_init
	.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	x19, x0
	ldr	x8, [x0, #16]
	ldr	x21, [x8]
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	str	xzr, [x0, #32]
	ldr	w8, [x0, #28]
	add	w8, w8, #1
	str	w8, [x0, #28]
	cbz	x21, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_gen_new_htid
	str	w0, [x20]
	ldr	w8, [x19, #24]
	str	w8, [x20, #24]
	b	LBB0_5
LBB0_3:
	mov	w8, #-2147483648
	str	w8, [x20]
	ldr	w8, [x19, #24]
	str	w8, [x20, #24]
	ldr	w1, [x22]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	x8, [x19, #16]
	str	x8, [x0, #16]
	str	x0, [x8]
LBB0_5:
	mov	w0, #0
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	ldr	x8, [x21]
	str	x20, [x21]
	stp	x21, x8, [x20, #8]
	stp	x21, x20, [x19]
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_kfree
LBB0_7:
Lloh2:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_u32_init
.subsections_via_symbols
