	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbcir_idle_rx
_wbcir_idle_rx:                         ## @wbcir_idle_rx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rcx
	movq	_WBCIR_RXSTATE_INACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%esi, %esi
	je	LBB0_1
## %bb.4:
	cmpq	%rax, %rcx
	je	LBB0_3
## %bb.5:
	movq	%rax, (%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_wbcir_carrier_report
LBB0_7:
	movq	_WBCIR_RX_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WBCIR_REG_SP3_ASCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_outb                           ## TAILCALL
LBB0_1:
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.2:
	movq	_WBCIR_RXSTATE_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WBCIR_RXSTATE_INACTIVE,8,3     ## @WBCIR_RXSTATE_INACTIVE
	.comm	_WBCIR_RXSTATE_ACTIVE,8,3       ## @WBCIR_RXSTATE_ACTIVE
	.comm	_WBCIR_RX_DISABLE,4,2           ## @WBCIR_RX_DISABLE
	.comm	_WBCIR_REG_SP3_ASCR,8,3         ## @WBCIR_REG_SP3_ASCR
	.no_dead_strip	_wbcir_idle_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wbcir_idle_rx
_wbcir_idle_rx:                         ; @wbcir_idle_rx
	.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
	ldr	x19, [x0]
	ldr	x9, [x19]
Lloh0:
	adrp	x8, _WBCIR_RXSTATE_INACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WBCIR_RXSTATE_INACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	w1, LBB0_5
; %bb.1:
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.2:
	str	x8, [x19]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_wbcir_carrier_report
LBB0_4:
Lloh3:
	adrp	x8, _WBCIR_RX_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WBCIR_RX_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _WBCIR_REG_SP3_ASCR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WBCIR_REG_SP3_ASCR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outb
LBB0_5:
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _WBCIR_RXSTATE_ACTIVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WBCIR_RXSTATE_ACTIVE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WBCIR_RXSTATE_INACTIVE,8,3     ; @WBCIR_RXSTATE_INACTIVE
	.comm	_WBCIR_RXSTATE_ACTIVE,8,3       ; @WBCIR_RXSTATE_ACTIVE
	.comm	_WBCIR_RX_DISABLE,4,2           ; @WBCIR_RX_DISABLE
	.comm	_WBCIR_REG_SP3_ASCR,8,3         ; @WBCIR_REG_SP3_ASCR
	.no_dead_strip	_wbcir_idle_rx
.subsections_via_symbols
