	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc75xx_enter_suspend1
_smsc75xx_enter_suspend1:               ## @smsc75xx_enter_suspend1
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	_PMT_CTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-44(%rbp), %rdx
	callq	_smsc75xx_read_reg_nopm
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_PMT_CTL_SUS_MODE@GOTPCREL(%rip), %rax
	movq	_PMT_CTL_WUPS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	(%rax), %edx
	movq	_PMT_CTL_PHY_RST@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	movq	_PMT_CTL_SUS_MODE_1@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -44(%rbp)
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_smsc75xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movl	(%r13), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	movq	_PMT_CTL_WUPS_ED@GOTPCREL(%rip), %rax
	movq	_PMT_CTL_ED_EN@GOTPCREL(%rip), %rcx
	orl	(%rax), %edx
	orl	(%rcx), %edx
	movl	%edx, -44(%rbp)
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_smsc75xx_write_reg_nopm
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	_SUSPEND_SUSPEND1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	callq	_netdev_warn
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMT_CTL,4,2                    ## @PMT_CTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error reading PMT_CTL\n"

	.comm	_PMT_CTL_SUS_MODE,4,2           ## @PMT_CTL_SUS_MODE
	.comm	_PMT_CTL_WUPS,4,2               ## @PMT_CTL_WUPS
	.comm	_PMT_CTL_PHY_RST,4,2            ## @PMT_CTL_PHY_RST
	.comm	_PMT_CTL_SUS_MODE_1,4,2         ## @PMT_CTL_SUS_MODE_1
L_.str.1:                               ## @.str.1
	.asciz	"Error writing PMT_CTL\n"

	.comm	_PMT_CTL_WUPS_ED,4,2            ## @PMT_CTL_WUPS_ED
	.comm	_PMT_CTL_ED_EN,4,2              ## @PMT_CTL_ED_EN
	.comm	_SUSPEND_SUSPEND1,4,2           ## @SUSPEND_SUSPEND1
	.no_dead_strip	_smsc75xx_enter_suspend1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc75xx_enter_suspend1
_smsc75xx_enter_suspend1:               ; @smsc75xx_enter_suspend1
	.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
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
Lloh0:
	adrp	x22, _PMT_CTL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PMT_CTL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	bl	_smsc75xx_read_reg_nopm
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _PMT_CTL_SUS_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PMT_CTL_SUS_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x23, _PMT_CTL_WUPS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PMT_CTL_WUPS@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh7:
	adrp	x9, _PMT_CTL_PHY_RST@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PMT_CTL_PHY_RST@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
Lloh10:
	adrp	x9, _PMT_CTL_SUS_MODE_1@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PMT_CTL_SUS_MODE_1@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_smsc75xx_write_reg_nopm
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w8, [x23]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
Lloh13:
	adrp	x9, _PMT_CTL_WUPS_ED@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PMT_CTL_WUPS_ED@GOTPAGEOFF]
Lloh15:
	adrp	x10, _PMT_CTL_ED_EN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PMT_CTL_ED_EN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w2, w8, w10
	str	w2, [sp, #12]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_smsc75xx_write_reg_nopm
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	w20, #0
Lloh19:
	adrp	x8, _SUSPEND_SUSPEND1@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SUSPEND_SUSPEND1@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	b	LBB0_7
LBB0_4:
	mov	x20, x0
	ldr	w0, [x19]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
	mov	x20, x0
	ldr	w0, [x19]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	bl	_netdev_warn
LBB0_7:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PMT_CTL,4,2                    ; @PMT_CTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error reading PMT_CTL\n"

	.comm	_PMT_CTL_SUS_MODE,4,2           ; @PMT_CTL_SUS_MODE
	.comm	_PMT_CTL_WUPS,4,2               ; @PMT_CTL_WUPS
	.comm	_PMT_CTL_PHY_RST,4,2            ; @PMT_CTL_PHY_RST
	.comm	_PMT_CTL_SUS_MODE_1,4,2         ; @PMT_CTL_SUS_MODE_1
l_.str.1:                               ; @.str.1
	.asciz	"Error writing PMT_CTL\n"

	.comm	_PMT_CTL_WUPS_ED,4,2            ; @PMT_CTL_WUPS_ED
	.comm	_PMT_CTL_ED_EN,4,2              ; @PMT_CTL_ED_EN
	.comm	_SUSPEND_SUSPEND1,4,2           ; @SUSPEND_SUSPEND1
	.no_dead_strip	_smsc75xx_enter_suspend1
.subsections_via_symbols
