	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_fb_helper_defio_init       ## -- Begin function drm_fb_helper_defio_init
	.p2align	4, 0x90
_drm_fb_helper_defio_init:              ## @drm_fb_helper_defio_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$8, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	movl	(%r15), %esi
	movl	$8, %edi
	callq	_kzalloc
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	movq	%rbx, 8(%r14)
	movl	$50, %edi
	callq	_msecs_to_jiffies
	movl	%eax, 4(%rbx)
	movq	_drm_fb_helper_deferred_io@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	%r15, (%r14)
	movq	%r14, %rdi
	callq	_fb_deferred_io_init
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_kfree
	movq	%r15, %rdi
	callq	_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_drm_fb_helper_deferred_io,4,2  ## @drm_fb_helper_deferred_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_fb_helper_defio_init       ; -- Begin function drm_fb_helper_defio_init
	.p2align	2
_drm_fb_helper_defio_init:              ; @drm_fb_helper_defio_init
	.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	x19, [x0]
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #8
	bl	_kzalloc
	mov	x20, x0
	ldr	w1, [x21]
	mov	w0, #8
	bl	_kzalloc
	mov	x21, x0
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_kfree
	mov	x0, x21
	bl	_kfree
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	str	x20, [x19, #8]
	mov	w0, #50
	bl	_msecs_to_jiffies
Lloh5:
	adrp	x8, _drm_fb_helper_deferred_io@GOTPAGE
Lloh6:
	ldr	x8, [x8, _drm_fb_helper_deferred_io@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, w0, [x20]
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	x8, [x21]
	str	x21, [x19]
	mov	x0, x19
	bl	_fb_deferred_io_init
	mov	w0, #0
LBB0_3:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_drm_fb_helper_deferred_io,4,2  ; @drm_fb_helper_deferred_io
.subsections_via_symbols
