	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_writebyte                 ## -- Begin function emit_writebyte
	.p2align	4, 0x90
_emit_writebyte:                        ## @emit_writebyte
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	cmpl	$3, %edi
	jg	LBB0_2
## %bb.1:
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	4(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	callq	_assem_debug
	movl	$136, %edi
	callq	_output_byte
	xorl	%edi, %edi
	movl	$5, %esi
	movl	%ebx, %edx
	callq	_output_modrm
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_output_w32                     ## TAILCALL
LBB0_2:
	movq	_EAX@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_emit_xchg
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_emit_writebyte
	movl	(%r15), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_xchg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"movb %%%cl,%x\n"

	.comm	_regname,8,3                    ## @regname
	.comm	_EAX,4,2                        ## @EAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_writebyte                 ; -- Begin function emit_writebyte
	.p2align	2
_emit_writebyte:                        ; @emit_writebyte
	.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, x1
	mov	x19, x0
	cmp	w0, #3
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _regname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _regname@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, sxtw #3]
	ldr	w1, [x8, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_assem_debug
	mov	w0, #136
	bl	_output_byte
	mov	w0, #0
	mov	w1, #5
	mov	x2, x19
	bl	_output_modrm
	mov	x0, x20
	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	_output_w32
LBB0_2:
Lloh5:
	adrp	x21, _EAX@GOTPAGE
Lloh6:
	ldr	x21, [x21, _EAX@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_emit_xchg
	ldr	w0, [x21]
	mov	x1, x20
	bl	_emit_writebyte
	ldr	w0, [x21]
	mov	x1, 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	_emit_xchg
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"movb %%%cl,%x\n"

	.comm	_regname,8,3                    ; @regname
	.comm	_EAX,4,2                        ; @EAX
.subsections_via_symbols
