	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpiochip_set_desc_names
_gpiochip_set_desc_names:               ## @gpiochip_set_desc_names
	.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	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.1:
	movq	%rdi, %r13
	cmpl	$0, (%rdi)
	je	LBB0_21
## %bb.2:
	movq	16(%r13), %r12
	leaq	8(%r12), %r14
	movl	$1, %ebx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rax,%rbx,4), %edi
	callq	_gpio_name_to_desc
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	movl	-4(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dev_warn
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %ecx
	cmpq	%rcx, %rbx
	je	LBB0_6
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	incq	%rbx
	jmp	LBB0_3
LBB0_6:
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.7:
	movq	8(%r13), %r9
	movq	(%r12), %rdx
	xorl	%esi, %esi
	cmpl	$8, %ecx
	jb	LBB0_17
## %bb.8:
	movq	%rdx, %rax
	subq	%r9, %rax
	cmpq	$32, %rax
	jb	LBB0_17
## %bb.9:
	movl	%ecx, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rax
	movq	%rax, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rax
	jae	LBB0_11
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_11:
	andq	$-4, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r9,%rbx,4), %xmm0
	movups	16(%r9,%rbx,4), %xmm1
	movups	%xmm0, (%rdx,%rbx,4)
	movups	%xmm1, 16(%rdx,%rbx,4)
	movups	32(%r9,%rbx,4), %xmm0
	movups	48(%r9,%rbx,4), %xmm1
	movups	%xmm0, 32(%rdx,%rbx,4)
	movups	%xmm1, 48(%rdx,%rbx,4)
	movups	64(%r9,%rbx,4), %xmm0
	movups	80(%r9,%rbx,4), %xmm1
	movups	%xmm0, 64(%rdx,%rbx,4)
	movups	%xmm1, 80(%rdx,%rbx,4)
	movups	96(%r9,%rbx,4), %xmm0
	movups	112(%r9,%rbx,4), %xmm1
	movups	%xmm0, 96(%rdx,%rbx,4)
	movups	%xmm1, 112(%rdx,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_12
LBB0_13:
	testq	%r8, %r8
	je	LBB0_16
## %bb.14:
	leaq	(%rdx,%rbx,4), %rax
	addq	$16, %rax
	leaq	(%r9,%rbx,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rbx), %xmm0
	movups	(%rdi,%rbx), %xmm1
	movups	%xmm0, -16(%rax,%rbx)
	movups	%xmm1, (%rax,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_15
LBB0_16:
	cmpq	%rcx, %rsi
	je	LBB0_21
LBB0_17:
	movq	%rsi, %rdi
	notq	%rdi
	addq	%rcx, %rdi
	movq	%rcx, %rax
	andq	$3, %rax
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rsi,4), %ebx
	movl	%ebx, (%rdx,%rsi,4)
	incq	%rsi
	decq	%rax
	jne	LBB0_18
LBB0_19:
	cmpq	$3, %rdi
	jb	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rsi,4), %eax
	movl	%eax, (%rdx,%rsi,4)
	movl	4(%r9,%rsi,4), %eax
	movl	%eax, 4(%rdx,%rsi,4)
	movl	8(%r9,%rsi,4), %eax
	movl	%eax, 8(%rdx,%rsi,4)
	movl	12(%r9,%rsi,4), %eax
	movl	%eax, 12(%rdx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_20
LBB0_21:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Detected name collision for GPIO name '%s'\n"

	.no_dead_strip	_gpiochip_set_desc_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpiochip_set_desc_names
_gpiochip_set_desc_names:               ; @gpiochip_set_desc_names
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	w9, [x0]
	cbz	w9, LBB0_15
; %bb.2:
	mov	x23, #0
	ldr	x22, [x19, #16]
	add	x20, x22, #8
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x8, x23, lsl #2]
	bl	_gpio_name_to_desc
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x23, lsl #2]
	mov	x0, x20
	mov	x1, x21
	bl	_dev_warn
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldr	w8, [x19]
	cmp	x23, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	b	LBB0_3
LBB0_7:
	cbz	w8, LBB0_15
; %bb.8:
	mov	x9, #0
	ldr	x11, [x19, #8]
	ldr	x10, [x22]
	cmp	w8, #16
	b.lo	LBB0_13
; %bb.9:
	sub	x12, x10, x11
	cmp	x12, #64
	b.lo	LBB0_13
; %bb.10:
	and	x9, x8, #0xfffffff0
	add	x12, x10, #32
	add	x13, x11, #32
	mov	x14, x9
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_11
; %bb.12:
	cmp	x9, x8
	b.eq	LBB0_15
LBB0_13:
	lsl	x12, x9, #2
	add	x11, x11, x12
	add	x10, x10, x12
	sub	x8, x8, x9
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_15:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Detected name collision for GPIO name '%s'\n"

	.no_dead_strip	_gpiochip_set_desc_names
.subsections_via_symbols
