	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_pctl_dt_node_to_map_func
_bcm2835_pctl_dt_node_to_map_func:      ## @bcm2835_pctl_dt_node_to_map_func
	.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	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	(%r8), %r15
	movq	_bcm2835_functions@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rbx, %rax
	jbe	LBB0_1
## %bb.2:
	movq	_PIN_MAP_TYPE_MUX_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_bcm2835_gpio_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 4(%r15)
	movq	_bcm2835_functions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	movl	%eax, (%r15)
	addq	$12, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bcm2835_functions,8,3          ## @bcm2835_functions
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%pOF: invalid brcm,function %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PIN_MAP_TYPE_MUX_GROUP,4,2     ## @PIN_MAP_TYPE_MUX_GROUP
	.comm	_bcm2835_gpio_groups,8,3        ## @bcm2835_gpio_groups
	.no_dead_strip	_bcm2835_pctl_dt_node_to_map_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2835_pctl_dt_node_to_map_func
_bcm2835_pctl_dt_node_to_map_func:      ; @bcm2835_pctl_dt_node_to_map_func
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x24, [x4]
Lloh0:
	adrp	x25, _bcm2835_functions@GOTPAGE
Lloh1:
	ldr	x25, [x25, _bcm2835_functions@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	x0, x19
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh2:
	adrp	x8, _PIN_MAP_TYPE_MUX_GROUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PIN_MAP_TYPE_MUX_GROUP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _bcm2835_gpio_groups@GOTPAGE
Lloh6:
	ldr	x9, [x9, _bcm2835_gpio_groups@GOTPAGEOFF]
	str	w8, [x24, #8]
Lloh7:
	ldr	x8, [x9]
	ldr	w8, [x8, x21, lsl #2]
	str	w8, [x24, #4]
	ldr	x8, [x25]
	ldr	w8, [x8, x19, lsl #2]
	str	w8, [x24]
	ldr	x8, [x20]
	add	x8, x8, #12
	str	x8, [x20]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x23]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x19
	bl	_dev_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_bcm2835_functions,8,3          ; @bcm2835_functions
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%pOF: invalid brcm,function %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PIN_MAP_TYPE_MUX_GROUP,4,2     ; @PIN_MAP_TYPE_MUX_GROUP
	.comm	_bcm2835_gpio_groups,8,3        ; @bcm2835_gpio_groups
	.no_dead_strip	_bcm2835_pctl_dt_node_to_map_func
.subsections_via_symbols
