	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scmi_xfer_info_init
_scmi_xfer_info_init:                   ## @scmi_xfer_info_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	%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, %r15
	movq	24(%rdi), %r12
	movq	32(%rdi), %r14
	movl	(%r12), %eax
	movq	_MSG_TOKEN_MAX@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setge	%dil
	callq	_WARN_ON
	movl	(%r12), %edx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	%edx, %esi
	movl	$24, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	(%r12), %edi
	callq	_BITS_TO_LONGS
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$8, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.7:
	movq	8(%r15), %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_devm_kcalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_init_completion
	incl	%r13d
	addq	$24, %rbx
	cmpl	(%r12), %r13d
	jl	LBB0_8
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_lock_init
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_TOKEN_MAX,4,2              ## @MSG_TOKEN_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Maximum message of %d exceeds supported %ld\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_scmi_xfer_info_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scmi_xfer_info_init
_scmi_xfer_info_init:                   ; @scmi_xfer_info_init
	.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, x0
	ldp	x22, x19, [x0, #24]
	ldr	w8, [x22]
Lloh0:
	adrp	x21, _MSG_TOKEN_MAX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSG_TOKEN_MAX@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, w9
	cset	w0, ge
	bl	_WARN_ON
	ldr	w2, [x22]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w3, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
Lloh6:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x2
	mov	w2, #24
	bl	_devm_kcalloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_9
; %bb.3:
	ldr	w0, [x22]
	bl	_BITS_TO_LONGS
	mov	x1, x0
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #8
	bl	_devm_kcalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	w24, #0
	ldr	x21, [x20, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22, #4]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w1, #4
	bl	_devm_kcalloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x0, [x21, #16]
	mov	x0, x21
	bl	_init_completion
	add	w24, w24, #1
	add	x21, x21, #24
	ldr	w8, [x22]
	cmp	w24, w8
	b.lt	LBB0_6
LBB0_8:
	mov	x0, x20
	bl	_spin_lock_init
	mov	w0, #0
	b	LBB0_11
LBB0_9:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_TOKEN_MAX,4,2              ; @MSG_TOKEN_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Maximum message of %d exceeds supported %ld\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_scmi_xfer_info_init
.subsections_via_symbols
