	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_create_uobj
_siw_create_uobj:                       ## @siw_create_uobj
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_SIW_UOBJ_MAX_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_XA_LIMIT
	movl	%eax, %r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$16, %edi
	callq	_kzalloc
	movq	_SIW_INVAL_UOBJ_KEY@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	leaq	4(%r12), %rdi
	movl	(%r15), %r9d
	leaq	-60(%rbp), %r15
	movq	%r15, %rsi
	movq	%rax, %rdx
	movl	%r13d, %ecx
	movq	%r12, %r8
	callq	_xa_alloc_cyclic
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_PAGE_ALIGN
	movl	%eax, 8(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	%r15, %r14
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIW_UOBJ_MAX_KEY,4,2           ## @SIW_UOBJ_MAX_KEY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_SIW_INVAL_UOBJ_KEY,4,2         ## @SIW_INVAL_UOBJ_KEY
	.no_dead_strip	_siw_create_uobj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_create_uobj
_siw_create_uobj:                       ; @siw_create_uobj
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _SIW_UOBJ_MAX_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIW_UOBJ_MAX_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_XA_LIMIT
	mov	x23, x0
Lloh3:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	add	x0, x21, #4
	ldr	w5, [x24]
	mov	w3, w23
	add	x1, sp, #12
	mov	x2, x22
	mov	x4, x21
	bl	_xa_alloc_cyclic
	tbnz	x0, #63, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_PAGE_ALIGN
	str	w0, [x22, #8]
	str	x19, [x22]
	add	x8, sp, #12
	b	LBB0_5
LBB0_3:
	mov	x0, x22
	bl	_kfree
LBB0_4:
Lloh5:
	adrp	x8, _SIW_INVAL_UOBJ_KEY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIW_INVAL_UOBJ_KEY@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SIW_UOBJ_MAX_KEY,4,2           ; @SIW_UOBJ_MAX_KEY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_SIW_INVAL_UOBJ_KEY,4,2         ; @SIW_INVAL_UOBJ_KEY
	.no_dead_strip	_siw_create_uobj
.subsections_via_symbols
