	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_format_sidr_rep
_cm_format_sidr_rep:                    ## @cm_format_sidr_rep
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$24, %rdi
	movq	_CM_SIDR_REP_ATTR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	callq	_cm_format_mad_hdr
	movl	4(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	40(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	36(%r14), %edi
	callq	_cpu_to_be32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cm_sidr_rep_set_qpn
	movl	(%r15), %eax
	movl	%eax, 12(%rbx)
	movl	32(%r14), %edi
	callq	_cpu_to_be32
	movl	%eax, 8(%rbx)
	movq	24(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movl	4(%rbx), %edi
	callq	_memcpy
LBB0_3:
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_SIDR_REP_ATTR_ID,4,2        ## @CM_SIDR_REP_ATTR_ID
	.no_dead_strip	_cm_format_sidr_rep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_format_sidr_rep
_cm_format_sidr_rep:                    ; @cm_format_sidr_rep
	.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, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x0, #24
Lloh0:
	adrp	x8, _CM_SIDR_REP_ATTR_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_SIDR_REP_ATTR_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	bl	_cm_format_mad_hdr
	ldr	w8, [x21, #4]
	ldp	w0, w9, [x20, #36]
	stp	w9, w8, [x19, #16]
	bl	_cpu_to_be32
	mov	x1, x0
	mov	x0, x19
	bl	_cm_sidr_rep_set_qpn
	ldr	w8, [x21]
	str	w8, [x19, #12]
	ldr	w0, [x20, #32]
	bl	_cpu_to_be32
	str	w0, [x19, #8]
	ldr	x1, [x20, #24]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	x2, [x20, #16]
	cbz	x2, LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	bl	_memcpy
LBB0_3:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_6
; %bb.4:
	ldr	x2, [x20]
	cbz	x2, LBB0_6
; %bb.5:
	ldr	w0, [x19]
	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
	b	_memcpy
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_SIDR_REP_ATTR_ID,4,2        ; @CM_SIDR_REP_ATTR_ID
	.no_dead_strip	_cm_format_sidr_rep
.subsections_via_symbols
