	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_convert_db
_p54_convert_db:                        ## @p54_convert_db
	.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
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	16(%rdi), %edi
	callq	_le16_to_cpu
	movq	%rax, %r14
	movl	12(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, %r15
	movl	8(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, %r13
	movl	4(%r12), %edi
	callq	_le16_to_cpu
	leaq	20(%r14), %rcx
	xorl	%ebx, %ebx
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	jne	LBB0_5
## %bb.1:
	movq	%r13, %rcx
	imulq	%r15, %rcx
	addq	%rax, %rcx
	cmpq	%r14, %rcx
	jne	LBB0_5
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	40(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	%r15, (%rax)
	movq	%r13, 8(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	%r14, 24(%rbx)
	movl	32(%rbx), %edi
	movl	(%r12), %esi
	movq	%r14, %rdx
	callq	_memcpy
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	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
	.no_dead_strip	_p54_convert_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_convert_db
_p54_convert_db:                        ; @p54_convert_db
	.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	x24, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_le16_to_cpu
	mov	x20, x0
	ldr	w0, [x19, #12]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x19, #4]
	bl	_le16_to_cpu
	madd	x8, x22, x21, x0
	add	x9, x20, #20
	cmp	x9, x24
	ccmp	x8, x20, #0, eq
	b.eq	LBB0_2
; %bb.1:
	mov	x24, #0
	b	LBB0_4
LBB0_2:
	mov	x23, x0
	add	w0, w20, #40
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x24, x0
	cbz	x0, LBB0_4
; %bb.3:
	stp	x21, x22, [x24]
	stp	x23, x20, [x24, #16]
	ldr	w0, [x24, #32]
	ldr	w1, [x19]
	mov	x2, x20
	bl	_memcpy
LBB0_4:
	mov	x0, x24
	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
	.no_dead_strip	_p54_convert_db
.subsections_via_symbols
