	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_phystat                  ## -- Begin function check_phystat
	.p2align	4, 0x90
_check_phystat:                         ## @check_phystat
	.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
	movq	_sc_adapter@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%edi, %rbx
	movq	(%rax,%rbx,8), %rax
	movl	24(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	cmpq	$0, 8(%rax)
	movq	16(%rax), %rax
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_ISDN_STAT_RUN@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r14
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_3:
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_ISDN_STAT_STOP@GOTPCREL(%rip), %r12
	leaq	L_.str.4(%rip), %r14
	leaq	L_.str.3(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_pr_debug
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	24(%rax), %esi
	movq	%r14, %rdi
	callq	_pr_info
	movl	(%r12), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_indicate_status
LBB0_6:
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	8(%rdi), %rax
	movq	%rax, 16(%rdi)
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$4, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_CHECKSTAT_TIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_spin_unlock_irqrestore
	movq	_CEPID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ceReqTypePhy@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ceReqClass2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ceReqPhyStatus@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%ebx, %edi
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_sendmessage
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Checking status...\n"

	.comm	_sc_adapter,8,3                 ## @sc_adapter
L_.str.1:                               ## @.str.1
	.asciz	"PhyStat transition to RUN\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Switch contacted, transmitter enabled\n"

	.comm	_ISDN_STAT_RUN,4,2              ## @ISDN_STAT_RUN
L_.str.3:                               ## @.str.3
	.asciz	"PhyStat transition to STOP\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s: Switch connection lost, transmitter disabled\n"

	.comm	_ISDN_STAT_STOP,4,2             ## @ISDN_STAT_STOP
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_CHECKSTAT_TIME,8,3             ## @CHECKSTAT_TIME
	.comm	_CEPID,4,2                      ## @CEPID
	.comm	_ceReqTypePhy,4,2               ## @ceReqTypePhy
	.comm	_ceReqClass2,4,2                ## @ceReqClass2
	.comm	_ceReqPhyStatus,4,2             ## @ceReqPhyStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_phystat                  ; -- Begin function check_phystat
	.p2align	2
_check_phystat:                         ; @check_phystat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _sc_adapter@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sc_adapter@GOTPAGEOFF]
	ldr	x8, [x21]
	sxtw	x22, w0
	sbfiz	x20, x0, #3, #32
	ldr	x8, [x8, x20]
	ldr	w8, [x8, #24]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
	ldp	x9, x8, [x8, #8]
	cbz	x9, LBB0_3
; %bb.1:
	cbnz	x8, LBB0_6
; %bb.2:
Lloh4:
	adrp	x23, _ISDN_STAT_RUN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ISDN_STAT_RUN@GOTPAGEOFF]
Lloh6:
	adrp	x20, l_.str.2@PAGE
Lloh7:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:
	cbz	x8, LBB0_6
; %bb.4:
Lloh10:
	adrp	x23, _ISDN_STAT_STOP@GOTPAGE
Lloh11:
	ldr	x23, [x23, _ISDN_STAT_STOP@GOTPAGEOFF]
Lloh12:
	adrp	x20, l_.str.4@PAGE
Lloh13:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_5:
	bl	_pr_debug
	ldr	x8, [x21]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w1, [x8, #24]
	mov	x0, x20
	bl	_pr_info
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	bl	_indicate_status
LBB0_6:
	ldr	x8, [x21]
	lsl	x20, x22, #3
	ldr	x0, [x8, x20]
	ldr	x8, [x0, #8]
	str	x8, [x0, #16]
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
Lloh16:
	adrp	x9, _jiffies@GOTPAGE
Lloh17:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
	add	x0, x8, #4
Lloh18:
	ldr	x8, [x9]
Lloh19:
	adrp	x9, _CHECKSTAT_TIME@GOTPAGE
Lloh20:
	ldr	x9, [x9, _CHECKSTAT_TIME@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	ldr	x8, [x21]
	ldr	x0, [x8, x20]
	bl	_spin_unlock_irqrestore
Lloh22:
	adrp	x8, _CEPID@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CEPID@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _ceReqTypePhy@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ceReqTypePhy@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x8, _ceReqClass2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ceReqClass2@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
Lloh31:
	adrp	x8, _ceReqPhyStatus@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ceReqPhyStatus@GOTPAGEOFF]
Lloh33:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w5, #0
	mov	w6, #0
	mov	x7, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_sendmessage
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Checking status...\n"

	.comm	_sc_adapter,8,3                 ; @sc_adapter
l_.str.1:                               ; @.str.1
	.asciz	"PhyStat transition to RUN\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Switch contacted, transmitter enabled\n"

	.comm	_ISDN_STAT_RUN,4,2              ; @ISDN_STAT_RUN
l_.str.3:                               ; @.str.3
	.asciz	"PhyStat transition to STOP\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s: Switch connection lost, transmitter disabled\n"

	.comm	_ISDN_STAT_STOP,4,2             ; @ISDN_STAT_STOP
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_CHECKSTAT_TIME,8,3             ; @CHECKSTAT_TIME
	.comm	_CEPID,4,2                      ; @CEPID
	.comm	_ceReqTypePhy,4,2               ; @ceReqTypePhy
	.comm	_ceReqClass2,4,2                ; @ceReqClass2
	.comm	_ceReqPhyStatus,4,2             ; @ceReqPhyStatus
.subsections_via_symbols
