	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pinctrl_claim_hogs
_pinctrl_claim_hogs:                    ## @pinctrl_claim_hogs
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	%rbx, %rsi
	callq	_create_pinctrl
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
LBB0_9:
	callq	_dev_dbg
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	16(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.11:
	movl	(%rbx), %r14d
	movq	16(%rbx), %rdi
	callq	_PTR_ERR
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	16(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	16(%rbx), %rdi
	callq	_kref_get
	movq	16(%rbx), %rdi
	movq	_PINCTRL_STATE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pinctrl_lookup_state
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
	jmp	LBB0_7
LBB0_5:
	movq	16(%rbx), %rdi
	movq	24(%rbx), %rsi
	callq	_pinctrl_select_state
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_7:
	movq	16(%rbx), %rdi
	movq	_PINCTRL_STATE_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pinctrl_lookup_state
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no hogs found\n"

L_.str.1:                               ## @.str.1
	.asciz	"error claiming hogs: %li\n"

	.comm	_PINCTRL_STATE_DEFAULT,4,2      ## @PINCTRL_STATE_DEFAULT
L_.str.2:                               ## @.str.2
	.asciz	"failed to lookup the default state\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to select default state\n"

	.comm	_PINCTRL_STATE_SLEEP,4,2        ## @PINCTRL_STATE_SLEEP
L_.str.4:                               ## @.str.4
	.asciz	"failed to lookup the sleep state\n"

	.no_dead_strip	_pinctrl_claim_hogs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pinctrl_claim_hogs
_pinctrl_claim_hogs:                    ; @pinctrl_claim_hogs
	.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	x19, x0
	ldr	w0, [x0]
	mov	x1, x19
	bl	_create_pinctrl
	str	x0, [x19, #16]
	bl	_PTR_ERR
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_dev_dbg
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldr	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w20, [x19]
	ldr	x0, [x19, #16]
	bl	_PTR_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_PTR_ERR
LBB0_6:
	ldr	x0, [x19, #16]
	bl	_kref_get
	ldr	x0, [x19, #16]
Lloh7:
	adrp	x8, _PINCTRL_STATE_DEFAULT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PINCTRL_STATE_DEFAULT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_pinctrl_lookup_state
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	b	LBB0_10
LBB0_8:
	ldp	x0, x1, [x19, #16]
	bl	_pinctrl_select_state
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
LBB0_10:
	ldr	x0, [x19, #16]
Lloh14:
	adrp	x8, _PINCTRL_STATE_SLEEP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PINCTRL_STATE_SLEEP@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_pinctrl_lookup_state
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.11:
	ldr	w0, [x19]
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no hogs found\n"

l_.str.1:                               ; @.str.1
	.asciz	"error claiming hogs: %li\n"

	.comm	_PINCTRL_STATE_DEFAULT,4,2      ; @PINCTRL_STATE_DEFAULT
l_.str.2:                               ; @.str.2
	.asciz	"failed to lookup the default state\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to select default state\n"

	.comm	_PINCTRL_STATE_SLEEP,4,2        ; @PINCTRL_STATE_SLEEP
l_.str.4:                               ; @.str.4
	.asciz	"failed to lookup the sleep state\n"

	.no_dead_strip	_pinctrl_claim_hogs
.subsections_via_symbols
