	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___drm_printfn_coredump         ## -- Begin function __drm_printfn_coredump
	.p2align	4, 0x90
___drm_printfn_coredump:                ## @__drm_printfn_coredump
	.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	(%rdi), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_snprintf
	movq	%rax, %r13
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	leaq	(%rax,%r13), %rdx
	cmpq	%rcx, %rdx
	jbe	LBB0_2
## %bb.3:
	cmpq	%rcx, %rax
	jl	LBB0_6
## %bb.4:
	movq	(%rbx), %rsi
	cmpq	%rsi, %r13
	jae	LBB0_6
## %bb.5:
	subl	%ecx, %eax
	movslq	%eax, %rdi
	addq	24(%rbx), %rdi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rcx
	callq	_snprintf
	addq	%r13, 8(%rbx)
	subq	%r13, (%rbx)
	jmp	LBB0_7
LBB0_2:
	movq	%rdx, 8(%rbx)
	jmp	LBB0_7
LBB0_6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_NOWARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	incq	%r13
	movq	___GFP_NORETRY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r12
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r14, %rcx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	___drm_puts_coredump
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_7:
	addq	$8, %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	"%pV"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
	.comm	___GFP_NORETRY,4,2              ## @__GFP_NORETRY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___drm_printfn_coredump         ; -- Begin function __drm_printfn_coredump
	.p2align	2
___drm_printfn_coredump:                ; @__drm_printfn_coredump
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x22, [x0]
	ldr	x8, [x22]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, #0
	mov	x3, x19
	bl	_snprintf
	ldp	x8, x9, [x22, #8]
	add	x10, x8, x0
	cmp	x10, x9
	b.ls	LBB0_5
; %bb.2:
	mov	x21, x0
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.3:
	ldr	x1, [x22]
	cmp	x21, x1
	b.hs	LBB0_6
; %bb.4:
	sub	w8, w8, w9
	ldr	x9, [x22, #24]
	add	x0, x9, w8, sxtw
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_snprintf
	ldp	x9, x8, [x22]
	add	x8, x8, x21
	sub	x9, x9, x21
	stp	x9, x8, [x22]
	b	LBB0_8
LBB0_5:
	str	x10, [x22, #8]
	b	LBB0_8
LBB0_6:
	add	x21, x21, #1
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, ___GFP_NOWARN@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___GFP_NOWARN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, ___GFP_NORETRY@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___GFP_NORETRY@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x21
	bl	_kmalloc
	cbz	x0, LBB0_8
; %bb.7:
	mov	x22, x0
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	mov	x3, x19
	bl	_snprintf
	mov	x0, x20
	mov	x1, x22
	bl	___drm_puts_coredump
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%pV"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
	.comm	___GFP_NORETRY,4,2              ; @__GFP_NORETRY
.subsections_via_symbols
