	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bios_assemble                  ## -- Begin function bios_assemble
	.p2align	4, 0x90
_bios_assemble:                         ## @bios_assemble
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movl	(%rsi), %edi
	movq	_CCREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_reg
	movq	_HOST_CCREG@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpb	(%r14), %al
	sete	%dil
	callq	_assert
	movq	_is_delayslot@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	_start@GOTPCREL(%rip), %rax
	leal	(%rbx,%rbx), %ecx
	movslq	%ecx, %rdi
	addq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_emit_movimm
	movsbl	(%r14), %edi
	movq	_CLOCK_DIVIDER@GOTPCREL(%rip), %rax
	movq	_ccadj@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	movl	(%rcx,%rdx,4), %esi
	imull	(%rax), %esi
	movl	%edi, %edx
	callq	_emit_addimm
	movq	_slave@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_master_handle_bios@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_slave_handle_bios@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_emit_call                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CCREG,4,2                      ## @CCREG
	.comm	_HOST_CCREG,1,0                 ## @HOST_CCREG
	.comm	_is_delayslot,4,2               ## @is_delayslot
	.comm	_start,8,3                      ## @start
	.comm	_CLOCK_DIVIDER,4,2              ## @CLOCK_DIVIDER
	.comm	_ccadj,8,3                      ## @ccadj
	.comm	_slave,8,3                      ## @slave
	.comm	_slave_handle_bios,8,3          ## @slave_handle_bios
	.comm	_master_handle_bios,8,3         ## @master_handle_bios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bios_assemble                  ; -- Begin function bios_assemble
	.p2align	2
_bios_assemble:                         ; @bios_assemble
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x1]
Lloh0:
	adrp	x8, _CCREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCREG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_get_reg
Lloh3:
	adrp	x20, _HOST_CCREG@GOTPAGE
Lloh4:
	ldr	x20, [x20, _HOST_CCREG@GOTPAGEOFF]
	ldrb	w8, [x20]
	cmp	w8, w0, uxtb
	cset	w0, eq
	bl	_assert
Lloh5:
	adrp	x8, _is_delayslot@GOTPAGE
Lloh6:
	ldr	x8, [x8, _is_delayslot@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
Lloh8:
	adrp	x8, _start@GOTPAGE
Lloh9:
	ldr	x8, [x8, _start@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	lsl	w9, w19, #1
	add	x0, x8, w9, sxtw
	mov	w1, #0
	bl	_emit_movimm
	ldrsb	w0, [x20]
Lloh11:
	adrp	x8, _CLOCK_DIVIDER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CLOCK_DIVIDER@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ccadj@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ccadj@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w9, [x9, w19, sxtw #2]
	mul	w1, w9, w8
	mov	x2, x0
	bl	_emit_addimm
Lloh17:
	adrp	x8, _slave@GOTPAGE
Lloh18:
	ldr	x8, [x8, _slave@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	adrp	x9, _master_handle_bios@GOTPAGE
Lloh21:
	ldr	x9, [x9, _master_handle_bios@GOTPAGEOFF]
Lloh22:
	adrp	x10, _slave_handle_bios@GOTPAGE
Lloh23:
	ldr	x10, [x10, _slave_handle_bios@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_emit_call
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CCREG,4,2                      ; @CCREG
	.comm	_HOST_CCREG,1,0                 ; @HOST_CCREG
	.comm	_is_delayslot,4,2               ; @is_delayslot
	.comm	_start,8,3                      ; @start
	.comm	_CLOCK_DIVIDER,4,2              ; @CLOCK_DIVIDER
	.comm	_ccadj,8,3                      ; @ccadj
	.comm	_slave,8,3                      ; @slave
	.comm	_slave_handle_bios,8,3          ; @slave_handle_bios
	.comm	_master_handle_bios,8,3         ; @master_handle_bios
.subsections_via_symbols
