	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_request_ring
_print_request_ring:                    ## @print_request_ring
	.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
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r12d
	movl	4(%rsi), %r8d
	movl	24(%rsi), %r13d
	movq	16(%rsi), %rax
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax), %edi
	callq	_upper_32_bits
	movl	%eax, %r14d
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %edi
	callq	_lower_32_bits
	movl	%eax, %r15d
LBB0_4:
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %r14d
LBB0_5:
	movl	%r15d, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r9d
	callq	_drm_printf
	movl	4(%rbx), %r15d
	subl	(%rbx), %r15d
	jge	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	addl	(%rax), %r15d
LBB0_7:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r12
	movq	8(%rbx), %rcx
	movq	8(%rcx), %r13
	movl	(%rbx), %eax
	xorl	%r14d, %r14d
	cmpl	%eax, 4(%rbx)
	jae	LBB0_10
## %bb.9:
	movl	(%rcx), %r14d
	subl	%eax, %r14d
	leaq	(%rax,%r13), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_10:
	movl	%r14d, %ecx
	movq	%r12, %rdi
	addq	%rcx, %rdi
	movl	%eax, %eax
	addq	%rax, %r13
	movl	%r15d, %edx
	subl	%r14d, %edx
	movq	%r13, %rsi
	callq	_memcpy
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_hexdump
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[head %04x, postfix %04x, tail %04x, batch 0x%08x_%08x]:\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_print_request_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_request_ring
_print_request_ring:                    ; @print_request_ring
	.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	x20, x1
	mov	x19, x0
	ldr	w21, [x1, #24]
	ldp	w23, w22, [x1]
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x8]
	bl	_upper_32_bits
	mov	x24, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x8]
	bl	_lower_32_bits
	mov	x6, x0
	b	LBB0_5
LBB0_3:
	mov	w24, #-1
LBB0_4:
	mov	w6, #-1
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	mov	x5, x24
	bl	_drm_printf
	ldp	w9, w8, [x20]
	subs	w21, w8, w9
	b.ge	LBB0_7
; %bb.6:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	add	w21, w8, w21
LBB0_7:
Lloh2:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kmalloc
	cbz	x0, LBB0_10
; %bb.8:
	mov	x22, x0
	ldr	x9, [x20, #8]
	ldr	x23, [x9, #8]
	ldp	w8, w10, [x20]
	cmp	w10, w8
	b.hs	LBB0_11
; %bb.9:
	ldr	w9, [x9]
	sub	w20, w9, w8
	add	x1, x23, x8
	mov	x0, x22
	mov	x2, x20
	bl	_memcpy
	mov	w8, #0
	b	LBB0_12
LBB0_10:
	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
LBB0_11:
	mov	w20, #0
LBB0_12:
	add	x0, x22, w20, uxtw
	sub	w2, w21, w20
	add	x1, x23, w8, uxtw
	bl	_memcpy
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_hexdump
	mov	x0, x22
	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
	b	_kfree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[head %04x, postfix %04x, tail %04x, batch 0x%08x_%08x]:\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_print_request_ring
.subsections_via_symbols
