	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocp_write_word
_ocp_write_word:                        ## @ocp_write_word
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_BYTE_EN_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%edx, %eax
	andl	$2, %eax
	movzwl	%cx, %edi
	movl	%eax, %ecx
	shll	%cl, %r12d
	leal	(,%rax,8), %ecx
	movl	%edx, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	andl	$-4, %ebx
	testl	%eax, %eax
	cmovel	%edx, %ebx
	callq	___cpu_to_le32
	movl	%eax, -36(%rbp)
	leaq	-36(%rbp), %r8
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	$4, %ecx
	movl	%r14d, %r9d
	callq	_generic_ocp_write
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BYTE_EN_WORD,4,2               ## @BYTE_EN_WORD
	.no_dead_strip	_ocp_write_word
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocp_write_word
_ocp_write_word:                        ; @ocp_write_word
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BYTE_EN_WORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BYTE_EN_WORD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w9, w3, #0xffff
	ands	w10, w2, #0x2
	lsl	w21, w8, w10
	lsl	w8, w10, #3
	and	w10, w2, #0xfffffffc
	lsl	w0, w9, w8
	csel	w22, w2, w10, eq
	bl	___cpu_to_le32
	str	w0, [sp, #12]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w3, #4
	mov	x5, x19
	bl	_generic_ocp_write
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BYTE_EN_WORD,4,2               ; @BYTE_EN_WORD
	.no_dead_strip	_ocp_write_word
.subsections_via_symbols
