	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_build_sgid_mac
_ocrdma_build_sgid_mac:                 ## @ocrdma_build_sgid_mac
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	callq	_cpu_to_be64
	movl	%eax, (%rbx)
	movb	(%r14), %al
	xorb	$2, %al
	movq	(%rbx), %rcx
	movb	%al, 8(%rcx)
	movb	1(%r14), %al
	movq	(%rbx), %rcx
	movb	%al, 9(%rcx)
	movb	2(%r14), %al
	movq	(%rbx), %rcx
	movb	%al, 10(%rcx)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movl	%r12d, %ecx
	movb	%ch, 11(%rax)
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rax
	movb	$-1, 11(%rax)
	movb	$-2, %cl
LBB0_3:
	movq	(%rbx), %rax
	movb	%cl, 12(%rax)
	movb	3(%r14), %al
	movq	(%rbx), %rcx
	movb	%al, 13(%rcx)
	movb	4(%r14), %al
	movq	(%rbx), %rcx
	movb	%al, 14(%rcx)
	movb	5(%r14), %al
	movq	(%rbx), %rcx
	movb	%al, 15(%rcx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ocrdma_build_sgid_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_build_sgid_mac
_ocrdma_build_sgid_mac:                 ; @ocrdma_build_sgid_mac
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	w0, #0
	bl	_cpu_to_be64
	str	w0, [x19]
	ldrb	w8, [x20]
	eor	w8, w8, #0x2
	ldr	x9, [x19]
	strb	w8, [x9, #8]
	ldrb	w8, [x20, #1]
	ldr	x9, [x19]
	strb	w8, [x9, #9]
	ldrb	w8, [x20, #2]
	ldr	x9, [x19]
	strb	w8, [x9, #10]
	cbz	w22, LBB0_2
; %bb.1:
	lsr	w8, w21, #8
	ldr	x9, [x19]
	strb	w8, [x9, #11]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	mov	w9, #255
	strb	w9, [x8, #11]
	mov	w21, #254
LBB0_3:
	ldr	x8, [x19]
	strb	w21, [x8, #12]
	ldrb	w8, [x20, #3]
	ldr	x9, [x19]
	strb	w8, [x9, #13]
	ldrb	w8, [x20, #4]
	ldr	x9, [x19]
	strb	w8, [x9, #14]
	ldrb	w8, [x20, #5]
	ldr	x9, [x19]
	strb	w8, [x9, #15]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ocrdma_build_sgid_mac
.subsections_via_symbols
