	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_config
_sd_config:                             ## @sd_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %ecx
	movl	%ecx, %eax
	sarl	$8, %eax
	movl	%eax, (%rdi)
	movl	%ecx, 4(%rdi)
	sarl	$16, %ecx
	movl	%ecx, 8(%rdi)
	movl	$128, 12(%rdi)
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_2
## %bb.1:
	movq	_sxga_mode@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	cmpl	$133, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$132, %eax
	jne	LBB0_6
## %bb.4:
	movq	_mono_mode@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	$129, 12(%rbx)
LBB0_6:
	movq	_vga_mode@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rdi
	movq	%rdi, 16(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movl	$16, 16(%rbx)
	addq	$20, %rbx
	movq	_qual_upd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_WORK
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sxga_mode,8,3                  ## @sxga_mode
	.comm	_mono_mode,8,3                  ## @mono_mode
	.comm	_vga_mode,8,3                   ## @vga_mode
	.comm	_qual_upd,4,2                   ## @qual_upd
	.no_dead_strip	_sd_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_config
_sd_config:                             ; @sd_config
	.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	w9, [x1]
	asr	w8, w9, #8
	stp	w8, w9, [x0]
	asr	w9, w9, #16
	mov	w10, #128
	stp	w9, w10, [x0, #8]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _sxga_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sxga_mode@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	cmp	w8, #133
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #132
	b.ne	LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _mono_mode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mono_mode@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w8, #129
	str	w8, [x19, #12]
LBB0_6:
Lloh4:
	adrp	x8, _vga_mode@GOTPAGE
Lloh5:
	ldr	x8, [x8, _vga_mode@GOTPAGEOFF]
LBB0_7:
	ldr	x0, [x8]
	str	x0, [x19, #16]
	bl	_ARRAY_SIZE
	str	x0, [x19, #8]
	stp	xzr, xzr, [x19, #24]
	mov	w8, #16
	str	w8, [x19, #16]
	add	x0, x19, #20
Lloh6:
	adrp	x8, _qual_upd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qual_upd@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_sxga_mode,8,3                  ; @sxga_mode
	.comm	_mono_mode,8,3                  ; @mono_mode
	.comm	_vga_mode,8,3                   ; @vga_mode
	.comm	_qual_upd,4,2                   ; @qual_upd
	.no_dead_strip	_sd_config
.subsections_via_symbols
