	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_irq_poll_setup
_mv88e6xxx_irq_poll_setup:              ## @mv88e6xxx_irq_poll_setup
	.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
	callq	_mv88e6xxx_g1_irq_setup_common
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_mv88e6xxx_irq_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kthread_init_delayed_work
	movl	8(%r14), %edi
	callq	_dev_name
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%eax, %edx
	callq	_kthread_create_worker
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	4(%r14), %r15d
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_kthread_queue_delayed_work
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_mv88e6xxx_irq_poll,4,2         ## @mv88e6xxx_irq_poll
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_mv88e6xxx_irq_poll_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_irq_poll_setup
_mv88e6xxx_irq_poll_setup:              ; @mv88e6xxx_irq_poll_setup
	.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
	mov	x19, x0
	bl	_mv88e6xxx_g1_irq_setup_common
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _mv88e6xxx_irq_poll@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mv88e6xxx_irq_poll@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kthread_init_delayed_work
	ldr	w0, [x19, #8]
	bl	_dev_name
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_kthread_create_worker
	str	w0, [x19, #4]
	bl	_IS_ERR
	ldr	w20, [x19, #4]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
	mov	w0, #100
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_kthread_queue_delayed_work
	mov	w0, #0
	b	LBB0_1
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mv88e6xxx_irq_poll,4,2         ; @mv88e6xxx_irq_poll
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_mv88e6xxx_irq_poll_setup
.subsections_via_symbols
