	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssp_create_msg
_ssp_create_msg:                        ## @ssp_create_msg
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movl	%r13d, -48(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -64(%rbp)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movl	%eax, -72(%rbp)
	movq	_SSP_HEADER_SIZE_ALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r15d, %edi
	movq	_GFP_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	%r15d, (%rbx)
	movl	%r14d, 4(%rbx)
	movq	_SSP_HEADER_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-72(%rbp), %rsi
	movq	%rax, %rdi
	callq	_memcpy
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$40, %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
	.comm	_SSP_HEADER_SIZE_ALIGNED,4,2    ## @SSP_HEADER_SIZE_ALIGNED
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.comm	_SSP_HEADER_SIZE,4,2            ## @SSP_HEADER_SIZE
	.no_dead_strip	_ssp_create_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssp_create_msg
_ssp_create_msg:                        ; @ssp_create_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #16
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	str	w23, [sp, #24]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [sp, #16]
	mov	x0, x20
	bl	_cpu_to_le16
	str	x0, [sp, #8]
	mov	x0, x22
	bl	_cpu_to_le32
	str	w0, [sp]
Lloh2:
	adrp	x8, _SSP_HEADER_SIZE_ALIGNED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSP_HEADER_SIZE_ALIGNED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w0, w8, w21
	ldr	w8, [x24]
Lloh5:
	adrp	x9, _GFP_DMA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GFP_DMA@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.2:
	stp	w21, w20, [x19]
Lloh8:
	adrp	x8, _SSP_HEADER_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSP_HEADER_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, sp
	bl	_memcpy
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_SSP_HEADER_SIZE_ALIGNED,4,2    ; @SSP_HEADER_SIZE_ALIGNED
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.comm	_SSP_HEADER_SIZE,4,2            ; @SSP_HEADER_SIZE
	.no_dead_strip	_ssp_create_msg
.subsections_via_symbols
