	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uart_phyp_intr
_uart_phyp_intr:                        ## @uart_phyp_intr
	.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, %r14
	movq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_tty_lock
	leaq	-25(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_uart_phyp_get
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	leaq	-25(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-25(%rbp), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ttydisc_rint
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_uart_phyp_get
	testl	%eax, %eax
	jg	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_ttydisc_rint_done
	movq	%rbx, %rdi
	callq	_tty_unlock
	cmpq	$0, 8(%r14)
	jne	LBB0_5
## %bb.4:
	leaq	4(%r14), %rdi
	movl	(%r14), %esi
	leaq	_uart_phyp_intr(%rip), %rdx
	movq	%r14, %rcx
	callq	_callout_reset
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_uart_phyp_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uart_phyp_intr
_uart_phyp_intr:                        ; @uart_phyp_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
	mov	x0, x20
	bl	_tty_lock
	add	x1, sp, #15
	mov	x0, x19
	mov	w2, #1
	bl	_uart_phyp_get
	cmp	w0, #1
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [sp, #15]
	mov	x0, x20
	mov	w2, #0
	bl	_ttydisc_rint
	add	x1, sp, #15
	mov	x0, x19
	mov	w2, #1
	bl	_uart_phyp_get
	cmp	w0, #0
	b.gt	LBB0_1
LBB0_2:
	mov	x0, x20
	bl	_ttydisc_rint_done
	mov	x0, x20
	bl	_tty_unlock
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	ldr	w1, [x0], #4
Lloh0:
	adrp	x2, _uart_phyp_intr@PAGE
Lloh1:
	add	x2, x2, _uart_phyp_intr@PAGEOFF
	mov	x3, x19
	bl	_callout_reset
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_uart_phyp_intr
.subsections_via_symbols
