	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wsm_buf_init                   ## -- Begin function wsm_buf_init
	.p2align	4, 0x90
_wsm_buf_init:                          ## @wsm_buf_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_BUG_ON
	movq	_FWLOAD_BLOCK_SIZE@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	_GFP_DMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	movq	(%r14), %rcx
	leaq	(%rax,%rcx,4), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wsm_buf_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FWLOAD_BLOCK_SIZE,8,3          ## @FWLOAD_BLOCK_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wsm_buf_init                   ; -- Begin function wsm_buf_init
	.p2align	2
_wsm_buf_init:                          ; @wsm_buf_init
	.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
	mov	x19, x0
	ldr	x0, [x0]
	bl	_BUG_ON
Lloh0:
	adrp	x20, _FWLOAD_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FWLOAD_BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _GFP_DMA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GFP_DMA@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_kmalloc
	str	x0, [x19]
	ldr	x8, [x20]
	add	x8, x0, x8, lsl #2
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wsm_buf_reset
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FWLOAD_BLOCK_SIZE,8,3          ; @FWLOAD_BLOCK_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
.subsections_via_symbols
