	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_create_ctxtdata            ## -- Begin function qib_create_ctxtdata
	.p2align	4, 0x90
_qib_create_ctxtdata:                   ## @qib_create_ctxtdata
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc_node
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$64, %rdi
	callq	_INIT_LIST_HEAD
	movl	%r15d, (%rbx)
	movq	%r12, 56(%rbx)
	movq	%r13, 48(%rbx)
	movl	$1, 4(%rbx)
	movq	%r14, 8(%rbx)
	movq	24(%r13), %rax
	movq	%rbx, (%rax,%r14,8)
	movq	%rbx, %rdi
	callq	*16(%r13)
	movl	$32768, 16(%rbx)                ## imm = 0x8000
	movl	$32768, %eax                    ## imm = 0x8000
	xorl	%edx, %edx
	idivl	8(%r13)
	movl	%eax, %edi
	movl	%eax, 20(%rbx)
	movl	28(%rbx), %eax
	addl	%edi, %eax
	decl	%eax
	cltd
	idivl	%edi
	movl	%eax, 24(%rbx)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ilog2
	movl	%eax, 32(%rbx)
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_create_ctxtdata            ; -- Begin function qib_create_ctxtdata
	.p2align	2
_qib_create_ctxtdata:                   ; @qib_create_ctxtdata
	.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	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kzalloc_node
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #64
	bl	_INIT_LIST_HEAD
	stp	x23, x22, [x19, #48]
	mov	w8, #1
	stp	w21, w8, [x19]
	str	x20, [x19, #8]
	ldr	x8, [x23, #24]
	str	x19, [x8, x20, lsl #3]
	ldr	x8, [x23, #16]
	mov	x0, x19
	blr	x8
	mov	w8, #32768
	ldr	w9, [x23, #8]
	sdiv	w0, w8, w9
	stp	w8, w0, [x19, #16]
	ldr	w8, [x19, #28]
	add	w8, w0, w8
	sub	w8, w8, #1
	sdiv	w8, w8, w0
	str	w8, [x19, #24]
	bl	_ilog2
	str	w0, [x19, #32]
LBB0_2:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
