	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uart_cpu_getdev                ## -- Begin function uart_cpu_getdev
	.p2align	4, 0x90
_uart_cpu_getdev:                       ## @uart_cpu_getdev
	.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, %rbx
	movq	_uart_ns8250_class@GOTPCREL(%rip), %rdi
	callq	_uart_getops
	movl	%eax, 48(%rbx)
	movq	$0, 40(%rbx)
	movq	_rmi_uart_bus_space@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 32(%rbx)
	movq	_BOARD_CONSOLE_UART@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_nlm_get_uart_regbase
	movl	%eax, 24(%rbx)
	movl	$2, 16(%rbx)
	movq	_XLP_IO_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_BOARD_CONSOLE_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movabsq	$4294967304, %rax               ## imm = 0x100000008
	movq	%rax, (%rbx)
	movq	_UART_PARITY_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_uart_bus_space_io@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%r14), %rax
	movq	_uart_bus_space_mem@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uart_ns8250_class,4,2          ## @uart_ns8250_class
	.comm	_rmi_uart_bus_space,8,3         ## @rmi_uart_bus_space
	.comm	_BOARD_CONSOLE_UART,4,2         ## @BOARD_CONSOLE_UART
	.comm	_XLP_IO_CLK,4,2                 ## @XLP_IO_CLK
	.comm	_BOARD_CONSOLE_SPEED,4,2        ## @BOARD_CONSOLE_SPEED
	.comm	_UART_PARITY_NONE,4,2           ## @UART_PARITY_NONE
	.comm	_uart_bus_space_io,8,3          ## @uart_bus_space_io
	.comm	_uart_bus_space_mem,8,3         ## @uart_bus_space_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function uart_cpu_getdev
lCPI0_0:
	.long	8                               ; 0x8
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_uart_cpu_getdev
	.p2align	2
_uart_cpu_getdev:                       ; @uart_cpu_getdev
	.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
Lloh0:
	adrp	x0, _uart_ns8250_class@GOTPAGE
Lloh1:
	ldr	x0, [x0, _uart_ns8250_class@GOTPAGEOFF]
	bl	_uart_getops
	str	w0, [x19, #48]
Lloh2:
	adrp	x20, _rmi_uart_bus_space@GOTPAGE
Lloh3:
	ldr	x20, [x20, _rmi_uart_bus_space@GOTPAGEOFF]
	ldr	x8, [x20]
	stp	x8, xzr, [x19, #32]
Lloh4:
	adrp	x8, _BOARD_CONSOLE_UART@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BOARD_CONSOLE_UART@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_nlm_get_uart_regbase
	str	w0, [x19, #24]
	mov	w8, #2
Lloh7:
	adrp	x9, _XLP_IO_CLK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _XLP_IO_CLK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _BOARD_CONSOLE_SPEED@GOTPAGE
Lloh11:
	ldr	x10, [x10, _BOARD_CONSOLE_SPEED@GOTPAGEOFF]
	stp	w8, w9, [x19, #16]
Lloh12:
	ldr	w8, [x10]
Lloh13:
	adrp	x9, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
Lloh15:
	adrp	x9, _UART_PARITY_NONE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _UART_PARITY_NONE@GOTPAGEOFF]
	str	d0, [x19]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh18:
	adrp	x8, _uart_bus_space_io@GOTPAGE
Lloh19:
	ldr	x8, [x8, _uart_bus_space_io@GOTPAGEOFF]
Lloh20:
	str	xzr, [x8]
	ldr	x8, [x20]
Lloh21:
	adrp	x9, _uart_bus_space_mem@GOTPAGE
Lloh22:
	ldr	x9, [x9, _uart_bus_space_mem@GOTPAGEOFF]
Lloh23:
	str	x8, [x9]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_uart_ns8250_class,4,2          ; @uart_ns8250_class
	.comm	_rmi_uart_bus_space,8,3         ; @rmi_uart_bus_space
	.comm	_BOARD_CONSOLE_UART,4,2         ; @BOARD_CONSOLE_UART
	.comm	_XLP_IO_CLK,4,2                 ; @XLP_IO_CLK
	.comm	_BOARD_CONSOLE_SPEED,4,2        ; @BOARD_CONSOLE_SPEED
	.comm	_UART_PARITY_NONE,4,2           ; @UART_PARITY_NONE
	.comm	_uart_bus_space_io,8,3          ; @uart_bus_space_io
	.comm	_uart_bus_space_mem,8,3         ; @uart_bus_space_mem
.subsections_via_symbols
