	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_send_mpa_request
_i40iw_send_mpa_request:                ## @i40iw_send_mpa_request
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	leaq	24(%rdi), %rax
	leaq	8(%rdi), %r14
	movq	%rax, 16(%rdi)
	movq	_MPA_KEY_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_i40iw_cm_build_mpa_frame
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	_SET_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_i40iw_form_cm_frame
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_I40IW_TIMER_TYPE_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40iw_schedule_cm_timer        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_i40iw_pr_err
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_i40iw_pr_err
LBB0_5:
	movl	$-1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cm_node == NULL\n"

	.comm	_MPA_KEY_REQUEST,4,2            ## @MPA_KEY_REQUEST
L_.str.1:                               ## @.str.1
	.asciz	"mpa size = %d\n"

	.comm	_SET_ACK,4,2                    ## @SET_ACK
L_.str.2:                               ## @.str.2
	.asciz	"sq_buf == NULL\n"

	.comm	_I40IW_TIMER_TYPE_SEND,4,2      ## @I40IW_TIMER_TYPE_SEND
	.no_dead_strip	_i40iw_send_mpa_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_send_mpa_request
_i40iw_send_mpa_request:                ; @i40iw_send_mpa_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	add	x8, x0, #24
	add	x20, x0, #8
	str	x8, [x0, #16]
Lloh0:
	adrp	x8, _MPA_KEY_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPA_KEY_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_i40iw_cm_build_mpa_frame
	str	w0, [x19, #8]
	cbz	w0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _SET_ACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SET_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	mov	x3, x19
	bl	_i40iw_form_cm_frame
	cbz	x0, LBB0_6
; %bb.3:
	mov	x1, x0
Lloh6:
	adrp	x8, _I40IW_TIMER_TYPE_SEND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40IW_TIMER_TYPE_SEND@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_i40iw_schedule_cm_timer
LBB0_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	str	xzr, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	bl	_i40iw_pr_err
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cm_node == NULL\n"

	.comm	_MPA_KEY_REQUEST,4,2            ; @MPA_KEY_REQUEST
l_.str.1:                               ; @.str.1
	.asciz	"mpa size = %d\n"

	.comm	_SET_ACK,4,2                    ; @SET_ACK
l_.str.2:                               ; @.str.2
	.asciz	"sq_buf == NULL\n"

	.comm	_I40IW_TIMER_TYPE_SEND,4,2      ; @I40IW_TIMER_TYPE_SEND
	.no_dead_strip	_i40iw_send_mpa_request
.subsections_via_symbols
