	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc_mb_init
_pdc_mb_init:                           ## @pdc_mb_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %r14
	movq	%r14, 32(%rdi)
	movq	_pdc_mbox_chan_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rdi)
	movl	$1, (%rdi)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$8, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, 4(%rbx)
	movl	$1, 12(%rbx)
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.3:
	cmpl	$4, %ecx
	jae	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_5:
	movl	%ecx, %edx
	andl	$-4, %edx
	movq	%rbx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rdx), %rsi
	movq	%rsi, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$7, %r8d
	cmpq	$28, %rsi
	jae	LBB0_7
## %bb.6:
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_7:
	andq	$-8, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rax,%rsi,8)
	movdqu	%xmm0, 16(%rax,%rsi,8)
	movdqu	%xmm0, 32(%rax,%rsi,8)
	movdqu	%xmm0, 48(%rax,%rsi,8)
	movdqu	%xmm0, 64(%rax,%rsi,8)
	movdqu	%xmm0, 80(%rax,%rsi,8)
	movdqu	%xmm0, 96(%rax,%rsi,8)
	movdqu	%xmm0, 112(%rax,%rsi,8)
	movdqu	%xmm0, 128(%rax,%rsi,8)
	movdqu	%xmm0, 144(%rax,%rsi,8)
	movdqu	%xmm0, 160(%rax,%rsi,8)
	movdqu	%xmm0, 176(%rax,%rsi,8)
	movdqu	%xmm0, 192(%rax,%rsi,8)
	movdqu	%xmm0, 208(%rax,%rsi,8)
	movdqu	%xmm0, 224(%rax,%rsi,8)
	movdqu	%xmm0, 240(%rax,%rsi,8)
	addq	$32, %rsi
	addq	$-8, %rdi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rax,%rsi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rsi,%rdi)
	movdqu	%xmm0, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_11
LBB0_12:
	cmpq	%rcx, %rdx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, (%rax,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_13
LBB0_14:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_devm_mbox_controller_register
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_crit
	jmp	LBB0_17
LBB0_15:
	xorl	%ebx, %ebx
LBB0_17:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pdc_mbox_chan_ops,4,2          ## @pdc_mbox_chan_ops
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to register PDC mailbox controller. Error %d."

	.no_dead_strip	_pdc_mb_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pdc_mb_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pdc_mb_init:                           ; @pdc_mb_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
	mov	x20, x0
	ldr	x19, [x0, #40]
Lloh0:
	adrp	x8, _pdc_mbox_chan_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pdc_mbox_chan_ops@GOTPAGEOFF]
	stp	x8, x19, [x0, #24]
	mov	w21, #1
	str	w21, [x0]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #8
	bl	_devm_kcalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #4]
	str	w21, [x20, #12]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	cmp	w8, #8
	b.hs	LBB0_5
; %bb.3:
	mov	x9, #0
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_12
LBB0_5:
	and	x9, x8, #0xfffffff8
	dup.2d	v0, x20
	add	x10, x0, #32
	mov	x11, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x10, #-32]
	stp	q0, q0, [x10], #64
	subs	x11, x11, #8
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_8:
	add	x10, x0, x9, lsl #3
	sub	x8, x8, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	x20, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_devm_mbox_controller_register
	mov	x20, x0
	cbz	w0, LBB0_12
; %bb.11:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_crit
LBB0_12:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_pdc_mbox_chan_ops,4,2          ; @pdc_mbox_chan_ops
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to register PDC mailbox controller. Error %d."

	.no_dead_strip	_pdc_mb_init
.subsections_via_symbols
