	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serial_ir_resume
_serial_ir_resume:                      ## @serial_ir_resume
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_hardware_init_port
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_hardware@GOTPCREL(%rip), %r15
	movq	_type@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	shlq	$2, %rdi
	addq	(%r15), %rdi
	callq	_spin_lock_irqsave
	xorl	%eax, %eax
	callq	_ktime_get
	movq	_serial_ir@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_UART_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_sinp
	movq	_UART_IER_MSI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_soutp
	xorl	%eax, %eax
	callq	_off
	movq	(%r12), %rdi
	shlq	$2, %rdi
	addq	(%r15), %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hardware,8,3                   ## @hardware
	.comm	_type,8,3                       ## @type
	.comm	_serial_ir,4,2                  ## @serial_ir
	.comm	_UART_IER,4,2                   ## @UART_IER
	.comm	_UART_IER_MSI,4,2               ## @UART_IER_MSI
	.no_dead_strip	_serial_ir_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serial_ir_resume
_serial_ir_resume:                      ; @serial_ir_resume
	.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
	bl	_hardware_init_port
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _hardware@GOTPAGE
Lloh1:
	ldr	x20, [x20, _hardware@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _type@GOTPAGE
Lloh3:
	ldr	x21, [x21, _type@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #2
	bl	_spin_lock_irqsave
	bl	_ktime_get
Lloh4:
	adrp	x8, _serial_ir@GOTPAGE
Lloh5:
	ldr	x8, [x8, _serial_ir@GOTPAGEOFF]
Lloh6:
	str	w0, [x8]
Lloh7:
	adrp	x8, _UART_IER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UART_IER@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_sinp
Lloh10:
	adrp	x8, _UART_IER_MSI@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UART_IER_MSI@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_soutp
	bl	_off
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #2
	bl	_spin_unlock_irqrestore
	mov	w0, #0
LBB0_2:
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_hardware,8,3                   ; @hardware
	.comm	_type,8,3                       ; @type
	.comm	_serial_ir,4,2                  ; @serial_ir
	.comm	_UART_IER,4,2                   ; @UART_IER
	.comm	_UART_IER_MSI,4,2               ; @UART_IER_MSI
	.no_dead_strip	_serial_ir_resume
.subsections_via_symbols
