	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Uart16550Init                  ## -- Begin function Uart16550Init
	.p2align	4, 0x90
_Uart16550Init:                         ## @Uart16550Init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	%edi, %ebx
	movq	_OFS_INTR_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_UART16550_WRITE
	movq	_OFS_LINE_CONTROL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	$128, %esi
	callq	_UART16550_WRITE
	movq	_MAX_BAUD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ebx
	movl	%eax, %ebx
	movq	_OFS_DIVISOR_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%bl, %esi
	callq	_UART16550_WRITE
	movq	_OFS_DIVISOR_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%bh, %esi
	callq	_UART16550_WRITE
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_UART16550_WRITE
	movq	_OFS_DATA_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	%r15d, %r12d
	orl	%r14d, %r12d
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UART16550_WRITE                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OFS_INTR_ENABLE,4,2            ## @OFS_INTR_ENABLE
	.comm	_OFS_LINE_CONTROL,4,2           ## @OFS_LINE_CONTROL
	.comm	_MAX_BAUD,4,2                   ## @MAX_BAUD
	.comm	_OFS_DIVISOR_LSB,4,2            ## @OFS_DIVISOR_LSB
	.comm	_OFS_DIVISOR_MSB,4,2            ## @OFS_DIVISOR_MSB
	.comm	_OFS_DATA_FORMAT,4,2            ## @OFS_DATA_FORMAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Uart16550Init                  ; -- Begin function Uart16550Init
	.p2align	2
_Uart16550Init:                         ; @Uart16550Init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _OFS_INTR_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OFS_INTR_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_UART16550_WRITE
Lloh3:
	adrp	x23, _OFS_LINE_CONTROL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _OFS_LINE_CONTROL@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #128
	bl	_UART16550_WRITE
Lloh5:
	adrp	x8, _MAX_BAUD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_BAUD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	sdiv	w22, w8, w22
Lloh8:
	adrp	x8, _OFS_DIVISOR_LSB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OFS_DIVISOR_LSB@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	and	w1, w22, #0xff
	bl	_UART16550_WRITE
Lloh11:
	adrp	x8, _OFS_DIVISOR_MSB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OFS_DIVISOR_MSB@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ubfx	w1, w22, #8, #8
	bl	_UART16550_WRITE
	ldr	w0, [x23]
	mov	w1, #0
	bl	_UART16550_WRITE
Lloh14:
	adrp	x8, _OFS_DATA_FORMAT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OFS_DATA_FORMAT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	orr	w8, w20, w21
	orr	w1, w8, w19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_UART16550_WRITE
	.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	_OFS_INTR_ENABLE,4,2            ; @OFS_INTR_ENABLE
	.comm	_OFS_LINE_CONTROL,4,2           ; @OFS_LINE_CONTROL
	.comm	_MAX_BAUD,4,2                   ; @MAX_BAUD
	.comm	_OFS_DIVISOR_LSB,4,2            ; @OFS_DIVISOR_LSB
	.comm	_OFS_DIVISOR_MSB,4,2            ; @OFS_DIVISOR_MSB
	.comm	_OFS_DATA_FORMAT,4,2            ; @OFS_DATA_FORMAT
.subsections_via_symbols
