	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_mdm6600_init_irq
_phy_mdm6600_init_irq:                  ## @phy_mdm6600_init_irq
	.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	_PHY_MDM6600_STATUS0@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	_PHY_MDM6600_STATUS2@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r12d
	jle	LBB0_1
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r13
	movq	8(%rdi), %r14
	decq	%r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15), %rax
	incq	%r12
	cmpq	%rax, %r12
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	8(%rax,%r12,8), %rdi
	callq	_gpiod_to_irq
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	movq	_phy_mdm6600_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	%r13, (%rsp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	leaq	L_.str(%rip), %r9
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_warn
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_MDM6600_STATUS0,4,2        ## @PHY_MDM6600_STATUS0
	.comm	_PHY_MDM6600_STATUS2,4,2        ## @PHY_MDM6600_STATUS2
	.comm	_phy_mdm6600_irq_thread,4,2     ## @phy_mdm6600_irq_thread
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mdm6600"

L_.str.1:                               ## @.str.1
	.asciz	"no modem status irq%i: %i\n"

	.no_dead_strip	_phy_mdm6600_init_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_mdm6600_init_irq
_phy_mdm6600_init_irq:                  ; @phy_mdm6600_init_irq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _PHY_MDM6600_STATUS0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_MDM6600_STATUS0@GOTPAGEOFF]
Lloh2:
	ldrsw	x24, [x8]
Lloh3:
	adrp	x25, _PHY_MDM6600_STATUS2@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PHY_MDM6600_STATUS2@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w24, w8
	b.le	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh5:
	adrp	x26, _phy_mdm6600_irq_thread@GOTPAGE
Lloh6:
	ldr	x26, [x26, _phy_mdm6600_irq_thread@GOTPAGEOFF]
Lloh7:
	adrp	x21, l_.str@PAGE
Lloh8:
	add	x21, x21, l_.str@PAGEOFF
Lloh9:
	adrp	x27, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh10:
	ldr	x27, [x27, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh11:
	adrp	x28, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh12:
	ldr	x28, [x28, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh13:
	adrp	x22, _IRQF_ONESHOT@GOTPAGE
Lloh14:
	ldr	x22, [x22, _IRQF_ONESHOT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x24, #1
	ldrsw	x9, [x25]
	cmp	x24, x9
	mov	x24, x8
	b.ge	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x0, [x8, x24, lsl #3]
	bl	_gpiod_to_irq
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	w3, [x26]
	ldr	w8, [x27]
	ldr	w9, [x28]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w4, w8, w9
	mov	x0, x20
	mov	x1, x23
	mov	x2, #0
	mov	x5, x21
	mov	x6, x19
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x0
	mov	x0, x20
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	bl	_dev_warn
	b	LBB0_3
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_MDM6600_STATUS0,4,2        ; @PHY_MDM6600_STATUS0
	.comm	_PHY_MDM6600_STATUS2,4,2        ; @PHY_MDM6600_STATUS2
	.comm	_phy_mdm6600_irq_thread,4,2     ; @phy_mdm6600_irq_thread
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mdm6600"

l_.str.1:                               ; @.str.1
	.asciz	"no modem status irq%i: %i\n"

	.no_dead_strip	_phy_mdm6600_init_irq
.subsections_via_symbols
