	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinconf_apply_setting          ## -- Begin function pinconf_apply_setting
	.p2align	4, 0x90
_pinconf_apply_setting:                 ## @pinconf_apply_setting
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r14
	movq	8(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	movl	(%rdi), %ecx
	cmpl	$129, %ecx
	je	LBB0_10
## %bb.4:
	cmpl	$128, %ecx
	jne	LBB0_14
## %bb.5:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	12(%r15), %edx
	movl	4(%r15), %esi
	movl	8(%r15), %ecx
	movq	%r14, %rdi
	callq	*%rax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_16
## %bb.8:
	movl	%eax, %r12d
	movl	(%r14), %edi
	movl	4(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movl	12(%r15), %edx
	movl	4(%r15), %esi
	movl	8(%r15), %ecx
	movq	%r14, %rdi
	callq	*%rax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_16
## %bb.13:
	movl	%eax, %r12d
	movl	(%r14), %edi
	movl	4(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
LBB0_9:
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r12d, %ebx
	jmp	LBB0_16
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_15:
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_11:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing confops\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"missing pin_config_set op\n"

L_.str.2:                               ## @.str.2
	.asciz	"pin_config_set op failed for pin %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"missing pin_config_group_set op\n"

L_.str.4:                               ## @.str.4
	.asciz	"pin_config_group_set op failed for group %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinconf_apply_setting          ; -- Begin function pinconf_apply_setting
	.p2align	2
_pinconf_apply_setting:                 ; @pinconf_apply_setting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	w9, [x0]
	cmp	w9, #129
	b.eq	LBB0_10
; %bb.2:
	cmp	w9, #128
	b.ne	LBB0_8
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.4:
	ldp	w3, w2, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x19
	blr	x8
	tbz	w0, #31, LBB0_12
; %bb.5:
	mov	x21, x0
	ldr	w0, [x19]
	ldr	w8, [x20, #4]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_6:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	bl	_dev_err
LBB0_8:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_9:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_10:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_14
; %bb.11:
	ldp	w3, w2, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_15
LBB0_12:
	mov	w21, #0
	b	LBB0_9
LBB0_13:
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_14:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_15:
	mov	x21, x0
	ldr	w0, [x19]
	ldr	w8, [x20, #4]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_16:
	bl	_dev_err
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing confops\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"missing pin_config_set op\n"

l_.str.2:                               ; @.str.2
	.asciz	"pin_config_set op failed for pin %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"missing pin_config_group_set op\n"

l_.str.4:                               ; @.str.4
	.asciz	"pin_config_group_set op failed for group %d\n"

.subsections_via_symbols
