	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2836_map
_bcm2836_map:                           ## @bcm2836_map
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	leal	-128(%rbx), %eax
	cmpl	$6, %eax
	jae	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %r15
	cltq
	leaq	l_switch.table.bcm2836_map(%rip), %rcx
	movq	(%rcx,%rax,8), %r12
	movl	%esi, %edi
	callq	_irq_set_percpu_devid
	movl	(%r15), %r8d
	movq	_handle_percpu_devid_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	_irq_domain_set_info
	movq	_IRQ_NOAUTOEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_irq_set_status_flags
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_warn_once
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bcm2836_arm_irqchip_timer,4,2  ## @bcm2836_arm_irqchip_timer
	.comm	_bcm2836_arm_irqchip_gpu,4,2    ## @bcm2836_arm_irqchip_gpu
	.comm	_bcm2836_arm_irqchip_pmu,4,2    ## @bcm2836_arm_irqchip_pmu
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected hw irq: %lu\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_handle_percpu_devid_irq,4,2    ## @handle_percpu_devid_irq
	.comm	_IRQ_NOAUTOEN,4,2               ## @IRQ_NOAUTOEN
	.no_dead_strip	_bcm2836_map
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.bcm2836_map
l_switch.table.bcm2836_map:
	.quad	_bcm2836_arm_irqchip_pmu
	.quad	_bcm2836_arm_irqchip_gpu
	.quad	_bcm2836_arm_irqchip_timer
	.quad	_bcm2836_arm_irqchip_timer
	.quad	_bcm2836_arm_irqchip_timer
	.quad	_bcm2836_arm_irqchip_timer

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2836_map
_bcm2836_map:                           ; @bcm2836_map
	.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
	mov	x20, x2
	sub	w8, w2, #128
	cmp	w8, #6
	b.hs	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x9, l_switch.table.bcm2836_map@PAGE
Lloh1:
	add	x9, x9, l_switch.table.bcm2836_map@PAGEOFF
	ldr	x22, [x9, w8, sxtw #3]
	mov	x0, x1
	bl	_irq_set_percpu_devid
	ldr	w4, [x21]
Lloh2:
	adrp	x8, _handle_percpu_devid_irq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _handle_percpu_devid_irq@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	mov	x6, #0
	mov	x7, #0
	bl	_irq_domain_set_info
Lloh5:
	adrp	x8, _IRQ_NOAUTOEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NOAUTOEN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_irq_set_status_flags
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_warn_once
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_bcm2836_arm_irqchip_timer,4,2  ; @bcm2836_arm_irqchip_timer
	.comm	_bcm2836_arm_irqchip_gpu,4,2    ; @bcm2836_arm_irqchip_gpu
	.comm	_bcm2836_arm_irqchip_pmu,4,2    ; @bcm2836_arm_irqchip_pmu
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected hw irq: %lu\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_handle_percpu_devid_irq,4,2    ; @handle_percpu_devid_irq
	.comm	_IRQ_NOAUTOEN,4,2               ; @IRQ_NOAUTOEN
	.no_dead_strip	_bcm2836_map
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bcm2836_map
l_switch.table.bcm2836_map:
	.quad	_bcm2836_arm_irqchip_pmu
	.quad	_bcm2836_arm_irqchip_gpu
	.quad	_bcm2836_arm_irqchip_timer
	.quad	_bcm2836_arm_irqchip_timer
	.quad	_bcm2836_arm_irqchip_timer
	.quad	_bcm2836_arm_irqchip_timer

.subsections_via_symbols
