	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lochnagar_pin_probe
_lochnagar_pin_probe:                   ## @lochnagar_pin_probe
	.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	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movq	%r14, 48(%rax)
	movq	%r12, 104(%rax)
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r15
	movq	_lochnagar_pin_desc@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%r15)
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 40(%r13)
	movq	_gpiochip_generic_request@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r13)
	movq	_gpiochip_generic_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movq	_lochnagar_gpio_direction_out@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	movq	_lochnagar_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movabsq	$-4294967295, %rax              ## imm = 0xFFFFFFFF00000001
	movq	%rax, (%r13)
	movq	%r14, 16(%r13)
	movl	(%r12), %edx
	cmpl	$129, %edx
	je	LBB0_5
## %bb.6:
	cmpl	$128, %edx
	jne	LBB0_15
## %bb.7:
	movq	_LOCHNAGAR2_PIN_NUM_GPIOS@GOTPCREL(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_lochnagar2_groups@GOTPCREL(%rip), %rbx
	movq	_lochnagar2_pins@GOTPCREL(%rip), %r12
	movq	_lochnagar2_funcs@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_LOCHNAGAR1_PIN_NUM_GPIOS@GOTPCREL(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_lochnagar1_groups@GOTPCREL(%rip), %rbx
	movq	_lochnagar1_pins@GOTPCREL(%rip), %r12
	movq	_lochnagar1_funcs@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rdi
	movq	%rdi, 96(%r13)
	callq	_ARRAY_SIZE
	movq	%rax, 88(%r13)
	movq	(%r12), %rdi
	movq	%rdi, 64(%r13)
	callq	_ARRAY_SIZE
	movq	%rax, 56(%r13)
	movq	(%rbx), %rdi
	movq	%rdi, 80(%r13)
	callq	_ARRAY_SIZE
	movq	%rax, 72(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	%r13, %rdi
	callq	_lochnagar_fill_func_groups
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movups	56(%r13), %xmm0
	movups	%xmm0, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_devm_pinctrl_register
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	48(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_14
LBB0_15:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_12:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	callq	_devm_gpiochip_add_data
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_14
## %bb.13:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movl	%r15d, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lochnagar_pin_desc,16,3        ## @lochnagar_pin_desc
	.comm	_gpiochip_generic_request,4,2   ## @gpiochip_generic_request
	.comm	_gpiochip_generic_free,4,2      ## @gpiochip_generic_free
	.comm	_lochnagar_gpio_direction_out,4,2 ## @lochnagar_gpio_direction_out
	.comm	_lochnagar_gpio_set,4,2         ## @lochnagar_gpio_set
	.comm	_lochnagar1_funcs,8,3           ## @lochnagar1_funcs
	.comm	_lochnagar1_pins,8,3            ## @lochnagar1_pins
	.comm	_lochnagar1_groups,8,3          ## @lochnagar1_groups
	.comm	_LOCHNAGAR1_PIN_NUM_GPIOS,4,2   ## @LOCHNAGAR1_PIN_NUM_GPIOS
	.comm	_lochnagar2_funcs,8,3           ## @lochnagar2_funcs
	.comm	_lochnagar2_pins,8,3            ## @lochnagar2_pins
	.comm	_lochnagar2_groups,8,3          ## @lochnagar2_groups
	.comm	_LOCHNAGAR2_PIN_NUM_GPIOS,4,2   ## @LOCHNAGAR2_PIN_NUM_GPIOS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown Lochnagar type: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Failed to register pinctrl: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to register gpiochip: %d\n"

	.no_dead_strip	_lochnagar_pin_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lochnagar_pin_probe
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lochnagar_pin_probe:                   ; @lochnagar_pin_probe
	.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, x0
	ldr	w0, [x0, #4]
	bl	_dev_get_drvdata
	mov	x22, x0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #48]
	str	x22, [x0, #104]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh2:
	adrp	x8, _lochnagar_pin_desc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lochnagar_pin_desc@GOTPAGEOFF]
Lloh4:
	ldr	q0, [x8]
	str	q0, [x0]
	mov	x0, x19
	bl	_dev_name
	str	w0, [x20, #40]
Lloh5:
	adrp	x8, _gpiochip_generic_request@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gpiochip_generic_request@GOTPAGEOFF]
Lloh7:
	adrp	x9, _gpiochip_generic_free@GOTPAGE
Lloh8:
	ldr	x9, [x9, _gpiochip_generic_free@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #32]
Lloh11:
	adrp	x8, _lochnagar_gpio_direction_out@GOTPAGE
Lloh12:
	ldr	x8, [x8, _lochnagar_gpio_direction_out@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _lochnagar_gpio_set@GOTPAGE
Lloh15:
	ldr	x9, [x9, _lochnagar_gpio_set@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
	str	x19, [x20, #16]
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
	ldr	w2, [x22]
	cmp	w2, #129
	b.eq	LBB0_8
; %bb.3:
	cmp	w2, #128
	b.ne	LBB0_13
; %bb.4:
Lloh19:
	adrp	x22, _LOCHNAGAR2_PIN_NUM_GPIOS@GOTPAGE
Lloh20:
	ldr	x22, [x22, _LOCHNAGAR2_PIN_NUM_GPIOS@GOTPAGEOFF]
Lloh21:
	adrp	x23, _lochnagar2_groups@GOTPAGE
Lloh22:
	ldr	x23, [x23, _lochnagar2_groups@GOTPAGEOFF]
Lloh23:
	adrp	x24, _lochnagar2_pins@GOTPAGE
Lloh24:
	ldr	x24, [x24, _lochnagar2_pins@GOTPAGEOFF]
Lloh25:
	adrp	x8, _lochnagar2_funcs@GOTPAGE
Lloh26:
	ldr	x8, [x8, _lochnagar2_funcs@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	mov	x0, x22
	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
LBB0_8:
Lloh29:
	adrp	x22, _LOCHNAGAR1_PIN_NUM_GPIOS@GOTPAGE
Lloh30:
	ldr	x22, [x22, _LOCHNAGAR1_PIN_NUM_GPIOS@GOTPAGEOFF]
Lloh31:
	adrp	x23, _lochnagar1_groups@GOTPAGE
Lloh32:
	ldr	x23, [x23, _lochnagar1_groups@GOTPAGEOFF]
Lloh33:
	adrp	x24, _lochnagar1_pins@GOTPAGE
Lloh34:
	ldr	x24, [x24, _lochnagar1_pins@GOTPAGEOFF]
Lloh35:
	adrp	x8, _lochnagar1_funcs@GOTPAGE
Lloh36:
	ldr	x8, [x8, _lochnagar1_funcs@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x8]
	str	x0, [x20, #96]
	bl	_ARRAY_SIZE
	str	x0, [x20, #88]
	ldr	x0, [x24]
	str	x0, [x20, #64]
	bl	_ARRAY_SIZE
	str	x0, [x20, #56]
	ldr	x0, [x23]
	str	x0, [x20, #80]
	bl	_ARRAY_SIZE
	str	x0, [x20, #72]
	ldr	w8, [x22]
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_lochnagar_fill_func_groups
	tbnz	w0, #31, LBB0_14
; %bb.10:
	ldp	x9, x8, [x20, #56]
	stp	x9, x8, [x21]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_devm_pinctrl_register
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.11:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x22, x0
	ldr	x0, [x20, #48]
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_12:
	mov	x2, x22
	bl	_dev_err
	b	LBB0_7
LBB0_13:
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh41:
	adrp	x8, _EINVAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_14:
	mov	x22, x0
	b	LBB0_7
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_devm_gpiochip_add_data
	tbnz	w0, #31, LBB0_17
; %bb.16:
	mov	w22, #0
	b	LBB0_7
LBB0_17:
	mov	x22, x0
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lochnagar_pin_desc,16,3        ; @lochnagar_pin_desc
	.comm	_gpiochip_generic_request,4,2   ; @gpiochip_generic_request
	.comm	_gpiochip_generic_free,4,2      ; @gpiochip_generic_free
	.comm	_lochnagar_gpio_direction_out,4,2 ; @lochnagar_gpio_direction_out
	.comm	_lochnagar_gpio_set,4,2         ; @lochnagar_gpio_set
	.comm	_lochnagar1_funcs,8,3           ; @lochnagar1_funcs
	.comm	_lochnagar1_pins,8,3            ; @lochnagar1_pins
	.comm	_lochnagar1_groups,8,3          ; @lochnagar1_groups
	.comm	_LOCHNAGAR1_PIN_NUM_GPIOS,4,2   ; @LOCHNAGAR1_PIN_NUM_GPIOS
	.comm	_lochnagar2_funcs,8,3           ; @lochnagar2_funcs
	.comm	_lochnagar2_pins,8,3            ; @lochnagar2_pins
	.comm	_lochnagar2_groups,8,3          ; @lochnagar2_groups
	.comm	_LOCHNAGAR2_PIN_NUM_GPIOS,4,2   ; @LOCHNAGAR2_PIN_NUM_GPIOS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown Lochnagar type: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Failed to register pinctrl: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to register gpiochip: %d\n"

	.no_dead_strip	_lochnagar_pin_probe
.subsections_via_symbols
