	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_pinctrl_mux_mask
_at91_pinctrl_mux_mask:                 ## @at91_pinctrl_mux_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-20(%rbp), %eax
	movl	%eax, %esi
	sarl	$2, %esi
	movl	%esi, -20(%rbp)
	movq	_gpio_banks@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$4, %eax
	jb	LBB0_4
## %bb.3:
	movl	%esi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	je	LBB0_6
LBB0_4:
	movl	4(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ecx, %edx
	jmp	LBB0_5
LBB0_1:
	movl	4(%r14), %edi
	movl	-20(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	%eax, (%r14)
	movl	4(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_devm_kcalloc
	movl	%eax, 8(%r14)
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	movl	-20(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	%eax, %ebx
	movl	4(%r14), %edi
	movl	-20(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_12
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"atmel,mux-mask"

L_.str.1:                               ## @.str.1
	.asciz	"can not read the mux-mask of %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_gpio_banks,4,2                 ## @gpio_banks
L_.str.2:                               ## @.str.2
	.asciz	"wrong mux mask array should be by %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_at91_pinctrl_mux_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_pinctrl_mux_mask
_at91_pinctrl_mux_mask:                 ; @at91_pinctrl_mux_mask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_get_property
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	asr	w1, w8, #2
	str	w1, [sp, #12]
Lloh2:
	adrp	x9, _gpio_banks@GOTPAGE
Lloh3:
	ldr	x9, [x9, _gpio_banks@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	cmp	w8, #4
	b.lo	LBB0_3
; %bb.2:
	sdiv	w8, w1, w2
	msub	w9, w8, w2, w1
	cbz	w9, LBB0_8
LBB0_3:
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #4]
	ldr	w2, [sp, #12]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	str	w8, [x19]
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_devm_kcalloc
	str	w0, [x19, #8]
	cbz	w0, LBB0_11
; %bb.9:
	mov	x2, x0
	ldr	w3, [sp, #12]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_u32_array
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.10:
	ldr	w0, [x19, #4]
	ldr	w2, [sp, #12]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_11:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"atmel,mux-mask"

l_.str.1:                               ; @.str.1
	.asciz	"can not read the mux-mask of %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_gpio_banks,4,2                 ; @gpio_banks
l_.str.2:                               ; @.str.2
	.asciz	"wrong mux mask array should be by %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_at91_pinctrl_mux_mask
.subsections_via_symbols
