	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_board                     ## -- Begin function init_board
	.p2align	4, 0x90
_init_board:                            ## @init_board
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_card_start
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_read_address
	movq	_B0_DAS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ADDR
	movl	%eax, %edi
	callq	_inp
	movq	_DAS_AVAIL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_SMT_SAS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SMT_DAS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%r14), %edi
	callq	_ADDR
	movl	%eax, %edi
	callq	_inp
	movq	_DAS_BYP_ST@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B0_DAS,4,2                     ## @B0_DAS
	.comm	_DAS_AVAIL,4,2                  ## @DAS_AVAIL
	.comm	_SMT_SAS,4,2                    ## @SMT_SAS
	.comm	_SMT_DAS,4,2                    ## @SMT_DAS
	.comm	_DAS_BYP_ST,4,2                 ## @DAS_BYP_ST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_board                     ; -- Begin function init_board
	.p2align	2
_init_board:                            ; @init_board
	.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, x1
	mov	x20, x0
	bl	_card_start
	mov	x0, x20
	mov	x1, x19
	bl	_read_address
Lloh0:
	adrp	x19, _B0_DAS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _B0_DAS@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_ADDR
	bl	_inp
Lloh2:
	adrp	x8, _DAS_AVAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DAS_AVAIL@GOTPAGEOFF]
Lloh4:
	adrp	x9, _SMT_SAS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SMT_SAS@GOTPAGEOFF]
Lloh6:
	adrp	x10, _SMT_DAS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SMT_DAS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x20, #4]
	ldr	w0, [x19]
	bl	_ADDR
	bl	_inp
Lloh9:
	adrp	x8, _DAS_BYP_ST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DAS_BYP_ST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B0_DAS,4,2                     ; @B0_DAS
	.comm	_DAS_AVAIL,4,2                  ; @DAS_AVAIL
	.comm	_SMT_SAS,4,2                    ; @SMT_SAS
	.comm	_SMT_DAS,4,2                    ; @SMT_DAS
	.comm	_DAS_BYP_ST,4,2                 ; @DAS_BYP_ST
.subsections_via_symbols
