	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_uart_attach
_tegra_uart_attach:                     ## @tegra_uart_attach
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ns8250_bus_attach
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movabsq	$824633720861, %rax             ## imm = 0xC00000001D
	movq	%rax, (%rbx)
	movq	_REG_IER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_uart_getreg
	andl	4(%rbx), %eax
	orl	(%rbx), %eax
	movl	%eax, 8(%rbx)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_uart_setreg
	movq	%rbx, %rdi
	callq	_uart_barrier
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_IER,4,2                    ## @REG_IER
	.no_dead_strip	_tegra_uart_attach
.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 tegra_uart_attach
lCPI0_0:
	.long	29                              ; 0x1d
	.long	192                             ; 0xc0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tegra_uart_attach:                     ; @tegra_uart_attach
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_ns8250_bus_attach
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
Lloh2:
	adrp	x21, _REG_IER@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REG_IER@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_uart_getreg
	ldp	w9, w8, [x19]
	and	w8, w8, w0
	orr	w2, w9, w8
	str	w2, [x19, #8]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_uart_setreg
	mov	x0, x19
	bl	_uart_barrier
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_IER,4,2                    ; @REG_IER
	.no_dead_strip	_tegra_uart_attach
.subsections_via_symbols
