	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcs_irq_init_chained_handler
_pcs_irq_init_chained_handler:          ## @pcs_irq_init_chained_handler
	.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
	leaq	44(%rdi), %r14
	cmpl	$0, 52(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 48(%rdi)
	je	LBB0_2
## %bb.3:
	movq	%rsi, %r15
	leaq	40(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_pcs_irq_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	_pcs_irq_unmask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_pcs_irq_set_wake@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_PCS_QUIRK_HAS_SHARED_IRQ@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	44(%rbx), %edi
	je	LBB0_6
## %bb.4:
	movq	_pcs_irq_handler@GOTPCREL(%rip), %rax
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movq	_IRQF_NO_SUSPEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_IRQF_NO_THREAD@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r12d
	movl	$-1, (%r14)
	jmp	LBB0_10
LBB0_2:
	movl	$-1, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_9:
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_pcs_irq_chain_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_irq_set_chained_handler_and_data
LBB0_7:
	movl	(%rbx), %esi
	movq	_pcs_irqdomain_ops@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_irq_domain_add_simple
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movl	(%r14), %edi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_irq_set_chained_handler
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pinctrl"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_pcs_irq_mask,8,3               ## @pcs_irq_mask
	.comm	_pcs_irq_unmask,4,2             ## @pcs_irq_unmask
	.comm	_pcs_irq_set_wake,4,2           ## @pcs_irq_set_wake
	.comm	_PCS_QUIRK_HAS_SHARED_IRQ,8,3   ## @PCS_QUIRK_HAS_SHARED_IRQ
	.comm	_pcs_irq_handler,4,2            ## @pcs_irq_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_IRQF_NO_SUSPEND,4,2            ## @IRQF_NO_SUSPEND
	.comm	_IRQF_NO_THREAD,4,2             ## @IRQF_NO_THREAD
	.comm	_pcs_irq_chain_handler,4,2      ## @pcs_irq_chain_handler
	.comm	_pcs_irqdomain_ops,4,2          ## @pcs_irqdomain_ops
	.no_dead_strip	_pcs_irq_init_chained_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcs_irq_init_chained_handler
_pcs_irq_init_chained_handler:          ; @pcs_irq_init_chained_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	add	x19, x0, #44
	ldr	w8, [x0, #52]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #48]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x21, x1
	add	x0, x20, #40
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20, #8]
Lloh2:
	adrp	x8, _pcs_irq_mask@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pcs_irq_mask@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #24]
Lloh5:
	adrp	x8, _pcs_irq_unmask@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pcs_irq_unmask@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _pcs_irq_set_wake@GOTPAGE
Lloh9:
	ldr	x9, [x9, _pcs_irq_set_wake@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
Lloh11:
	adrp	x8, _PCS_QUIRK_HAS_SHARED_IRQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCS_QUIRK_HAS_SHARED_IRQ@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w0, [x20, #44]
	cbz	x8, LBB0_8
; %bb.3:
Lloh14:
	adrp	x8, _pcs_irq_handler@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pcs_irq_handler@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _IRQF_NO_SUSPEND@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IRQF_NO_SUSPEND@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _IRQF_NO_THREAD@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IRQF_NO_THREAD@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh26:
	adrp	x3, l_.str@PAGE
Lloh27:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_9
; %bb.4:
	mov	w8, #-1
	str	w8, [x19]
	b	LBB0_7
LBB0_5:
	mov	w8, #-1
	str	w8, [x19]
LBB0_6:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh31:
	adrp	x8, _pcs_irq_chain_handler@GOTPAGE
Lloh32:
	ldr	x8, [x8, _pcs_irq_chain_handler@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_irq_set_chained_handler_and_data
LBB0_9:
	ldr	w1, [x20]
Lloh34:
	adrp	x3, _pcs_irqdomain_ops@GOTPAGE
Lloh35:
	ldr	x3, [x3, _pcs_irqdomain_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	w2, #0
	mov	x4, x19
	bl	_irq_domain_add_simple
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #4]
	cbnz	w8, LBB0_7
; %bb.10:
	ldr	w0, [x19]
	mov	x1, #0
	bl	_irq_set_chained_handler
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pinctrl"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_pcs_irq_mask,8,3               ; @pcs_irq_mask
	.comm	_pcs_irq_unmask,4,2             ; @pcs_irq_unmask
	.comm	_pcs_irq_set_wake,4,2           ; @pcs_irq_set_wake
	.comm	_PCS_QUIRK_HAS_SHARED_IRQ,8,3   ; @PCS_QUIRK_HAS_SHARED_IRQ
	.comm	_pcs_irq_handler,4,2            ; @pcs_irq_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_IRQF_NO_SUSPEND,4,2            ; @IRQF_NO_SUSPEND
	.comm	_IRQF_NO_THREAD,4,2             ; @IRQF_NO_THREAD
	.comm	_pcs_irq_chain_handler,4,2      ; @pcs_irq_chain_handler
	.comm	_pcs_irqdomain_ops,4,2          ; @pcs_irqdomain_ops
	.no_dead_strip	_pcs_irq_init_chained_handler
.subsections_via_symbols
