	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sm501_setup_uart_data
_sm501_setup_uart_data:                 ## @sm501_setup_uart_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movq	16(%rdi), %rcx
	addq	%rax, %rcx
	movq	%rcx, 32(%rsi)
	movq	8(%rdi), %rcx
	addq	(%rcx), %rax
	movq	%rax, 24(%rsi)
	movq	_UPIO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
	movl	(%rdi), %eax
	movl	%eax, 12(%rsi)
	movq	_UPF_BOOT_AUTOCONF@GOTPCREL(%rip), %rax
	movq	_UPF_SKIP_TEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_UPF_SHARE_IRQ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rsi)
	movabsq	$659706976665602, %rax          ## imm = 0x2580000000002
	movq	%rax, 4(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UPIO_MEM,4,2                   ## @UPIO_MEM
	.comm	_UPF_BOOT_AUTOCONF,4,2          ## @UPF_BOOT_AUTOCONF
	.comm	_UPF_SKIP_TEST,4,2              ## @UPF_SKIP_TEST
	.comm	_UPF_SHARE_IRQ,4,2              ## @UPF_SHARE_IRQ
	.no_dead_strip	_sm501_setup_uart_data
.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 sm501_setup_uart_data
lCPI0_0:
	.long	2                               ; 0x2
	.long	153600                          ; 0x25800
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sm501_setup_uart_data:                 ; @sm501_setup_uart_data
	.cfi_startproc
; %bb.0:
	mov	w8, w2
	ldp	x10, x9, [x0, #8]
	add	x9, x9, x8
	ldr	x10, [x10]
	add	x8, x10, x8
	stp	x8, x9, [x1, #24]
Lloh0:
	adrp	x8, _UPIO_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UPIO_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	stp	w9, w8, [x1, #12]
Lloh3:
	adrp	x8, _UPF_BOOT_AUTOCONF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UPF_BOOT_AUTOCONF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _UPF_SKIP_TEST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UPF_SKIP_TEST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _UPF_SHARE_IRQ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UPF_SHARE_IRQ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x1]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x1, #4]
	ret
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UPIO_MEM,4,2                   ; @UPIO_MEM
	.comm	_UPF_BOOT_AUTOCONF,4,2          ; @UPF_BOOT_AUTOCONF
	.comm	_UPF_SKIP_TEST,4,2              ; @UPF_SKIP_TEST
	.comm	_UPF_SHARE_IRQ,4,2              ; @UPF_SHARE_IRQ
	.no_dead_strip	_sm501_setup_uart_data
.subsections_via_symbols
