	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_issue_rej
_cm_issue_rej:                          ## @cm_issue_rej
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, %r15
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rdx
	callq	_cm_alloc_response_msg
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	(%r14), %r14
	movq	-48(%rbp), %rax
	movq	(%rax), %rbx
	leaq	16(%rbx), %rdi
	movq	_CM_REJ_ATTR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	callq	_cm_format_mad_hdr
	movl	12(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_cm_rej_set_msg_rejected
	movl	%r12d, %edi
	callq	_cpu_to_be16
	movl	%eax, 4(%rbx)
	testq	%r15, %r15
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_4
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cm_rej_set_reject_info_len
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
LBB0_4:
	movq	-48(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_ib_post_send_mad
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	callq	_cm_free_msg
	movl	%r14d, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_REJ_ATTR_ID,4,2             ## @CM_REJ_ATTR_ID
	.no_dead_strip	_cm_issue_rej
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_issue_rej
_cm_issue_rej:                          ; @cm_issue_rej
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x5
	mov	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	str	xzr, [sp, #8]
	add	x2, sp, #8
	bl	_cm_alloc_response_msg
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x24, [x24]
	ldr	x8, [sp, #8]
	ldr	x22, [x8]
	add	x0, x22, #16
Lloh0:
	adrp	x8, _CM_REJ_ATTR_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_REJ_ATTR_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x24, #16]
	bl	_cm_format_mad_hdr
	ldr	w8, [x24, #12]
	str	w8, [x22, #8]
	ldr	w8, [x24, #8]
	str	w8, [x22, #12]
	mov	x0, x22
	mov	x1, x23
	bl	_cm_rej_set_msg_rejected
	mov	x0, x21
	bl	_cpu_to_be16
	str	w0, [x22, #4]
	cbz	x20, LBB0_4
; %bb.2:
	cbz	w19, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x19
	bl	_cm_rej_set_reject_info_len
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
LBB0_4:
	ldr	x0, [sp, #8]
	mov	x1, #0
	bl	_ib_post_send_mad
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x0, [sp, #8]
	bl	_cm_free_msg
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_REJ_ATTR_ID,4,2             ; @CM_REJ_ATTR_ID
	.no_dead_strip	_cm_issue_rej
.subsections_via_symbols
