	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pinctrl_copy_args
_pinctrl_copy_args:                     ## @pinctrl_copy_args
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	movq	%r9, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r14, 16(%r12)
	leal	1(%rbx), %eax
	movl	%eax, (%r12)
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%ebx, %ebx
	movl	$0, %r13d
	js	LBB0_5
## %bb.3:
	movl	%eax, %r14d
	shlq	$2, %r14
	imull	%eax, %r15d
	leal	(%rcx,%r15,4), %r15d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%rbx), %edi
	callq	_be32_to_cpup
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%rbx)
	addq	$4, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_5:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pinctrl_copy_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pinctrl_copy_args
_pinctrl_copy_args:                     ; @pinctrl_copy_args
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x5
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x24, x0
	mov	x0, x5
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	x24, [x19, #16]
	add	w8, w22, #1
	str	w8, [x19]
	cmp	w21, w23
	b.ge	LBB0_5
; %bb.1:
	tbnz	w22, #31, LBB0_4
; %bb.2:
	mov	x22, #0
	lsl	x23, x8, #2
	mul	w8, w21, w8
	add	w20, w20, w8, lsl #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w0, w20, w22
	bl	_be32_to_cpup
	ldr	x8, [x19, #8]
	str	w0, [x8, x22]
	add	x22, x22, #4
	cmp	x23, x22
	b.ne	LBB0_3
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pinctrl_copy_args
.subsections_via_symbols
