	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cap2str
_cap2str:                               ## @cap2str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gpio_flags@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rdx), %rax
	leaq	L_.str(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpq	%rdi, 8(%rdx)
	je	LBB0_5
## %bb.2:
	addq	$24, %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	16(%rdx), %rsi
	cmpq	%rdi, (%rdx)
	movq	%rsi, %rdx
	jne	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_7:
	movq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpio_flags,8,3                 ## @gpio_flags
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UNKNOWN"

	.no_dead_strip	_cap2str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cap2str
_cap2str:                               ; @cap2str
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _gpio_flags@GOTPAGE
Lloh1:
	ldr	x9, [x9, _gpio_flags@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [x9]
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x10, [x9, #8]
	cmp	x10, x8
	b.eq	LBB0_6
; %bb.2:
	add	x9, x9, #24
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-8]
	cbz	x10, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x9], #16
	cmp	x11, x8
	b.ne	LBB0_3
; %bb.5:
	mov	x0, x10
LBB0_6:
	ret
LBB0_7:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_gpio_flags,8,3                 ; @gpio_flags
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UNKNOWN"

	.no_dead_strip	_cap2str
.subsections_via_symbols
