	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_probe
_wl1271_probe:                          ## @wl1271_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	movq	_spi_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 8(%rax)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_spi_set_drvdata
	movl	$32, (%r12)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movl	%eax, 16(%rbx)
	movl	%eax, %edi
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r13d, %ecx
	addl	(%rax), %ecx
	je	LBB0_10
## %bb.3:
	movl	16(%rbx), %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	16(%rbx), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r14, %rdi
LBB0_8:
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_9:
	subl	(%rax), %r13d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.11:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_wlcore_probe_of
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %r13d
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_14:
	movq	%r12, %rdi
	callq	_spi_setup
	testl	%eax, %eax
	js	LBB0_18
## %bb.15:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_platform_device_alloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movq	%r14, (%rax)
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	4(%r12), %edi
	movl	%edi, -64(%rbp)
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_irq_get_trigger_type
	orl	%r14d, %eax
	movl	%eax, -80(%rbp)
	leaq	L_.str.6(%rip), %rax
	movq	%rax, -72(%rbp)
	movq	(%rbx), %r14
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_platform_device_add_resources
	testl	%eax, %eax
	je	LBB0_20
## %bb.17:
	movl	%eax, %r13d
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_24
LBB0_18:
	movl	%eax, %r13d
	movq	8(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_19:
	movq	8(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_20:
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_platform_device_add_data
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %r13d
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_24
LBB0_22:
	movq	(%rbx), %rdi
	callq	_platform_device_add
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:
	movl	%eax, %r13d
	leaq	L_.str.9(%rip), %rsi
LBB0_24:
	movq	8(%rbx), %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	(%rbx), %rdi
	callq	_platform_device_put
	jmp	LBB0_10
LBB0_25:
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_spi_ops,4,2                    ## @spi_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't allocate glue\n"

L_.str.1:                               ## @.str.1
	.asciz	"vwlan"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"can't get regulator\n"

L_.str.3:                               ## @.str.3
	.asciz	"can't get device tree parameters (%d)\n"

L_.str.4:                               ## @.str.4
	.asciz	"spi_setup failed\n"

	.comm	_PLATFORM_DEVID_AUTO,4,2        ## @PLATFORM_DEVID_AUTO
L_.str.5:                               ## @.str.5
	.asciz	"can't allocate platform_device\n"

	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
L_.str.6:                               ## @.str.6
	.asciz	"irq"

L_.str.7:                               ## @.str.7
	.asciz	"can't add resources\n"

L_.str.8:                               ## @.str.8
	.asciz	"can't add platform data\n"

L_.str.9:                               ## @.str.9
	.asciz	"can't register platform device\n"

	.no_dead_strip	_wl1271_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_probe
_wl1271_probe:                          ; @wl1271_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	add	x22, x0, #8
Lloh3:
	adrp	x19, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x19, [x19, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x0, x22
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x8, _spi_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _spi_ops@GOTPAGEOFF]
	str	x8, [x0, #8]
	ldr	w2, [x19]
	mov	x0, x22
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x19, x0
	str	x22, [x0, #8]
	mov	x0, x21
	mov	x1, x19
	bl	_spi_set_drvdata
	mov	w8, #32
	str	w8, [x21]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_devm_regulator_get
	str	w0, [x19, #16]
	bl	_PTR_ERR
	mov	x23, x0
Lloh9:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_9
; %bb.3:
	ldr	w0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x0, [x19, #8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	ldr	w0, [x19, #16]
	ldr	x8, [sp, #40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
LBB0_6:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
LBB0_7:
	bl	_dev_err
LBB0_8:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_9:
	ldr	x8, [sp, #40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.10:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_wlcore_probe_of
	cbz	w0, LBB0_13
; %bb.12:
	mov	x23, x0
	ldr	x0, [x19, #8]
	str	x23, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	b	LBB0_9
LBB0_13:
	mov	x0, x21
	bl	_spi_setup
	tbnz	w0, #31, LBB0_17
; %bb.14:
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_platform_device_alloc
	str	x0, [x19]
	cbz	x0, LBB0_18
; %bb.15:
	str	x22, [x0]
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [x21, #4]
	str	w0, [sp, #32]
Lloh30:
	adrp	x8, _IORESOURCE_IRQ@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	bl	_irq_get_trigger_type
	orr	w8, w0, w21
	str	w8, [sp, #16]
Lloh33:
	adrp	x8, l_.str.6@PAGE
Lloh34:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [sp, #24]
	ldr	x21, [x19]
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #16
	mov	x0, x21
	bl	_platform_device_add_resources
	cbz	w0, LBB0_19
; %bb.16:
	mov	x23, x0
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_17:
	mov	x23, x0
	ldr	x0, [x19, #8]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
	b	LBB0_9
LBB0_18:
	ldr	x0, [x19, #8]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_7
LBB0_19:
	ldr	x0, [x19]
	mov	x1, x20
	mov	w2, #16
	bl	_platform_device_add_data
	cbz	w0, LBB0_21
; %bb.20:
	mov	x23, x0
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_23
LBB0_21:
	ldr	x0, [x19]
	bl	_platform_device_add
	mov	x23, x0
	cbz	w0, LBB0_9
; %bb.22:
Lloh43:
	adrp	x1, l_.str.9@PAGE
Lloh44:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_23:
	ldr	x0, [x19, #8]
	bl	_dev_err
	ldr	x0, [x19]
	bl	_platform_device_put
	b	LBB0_9
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_spi_ops,4,2                    ; @spi_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't allocate glue\n"

l_.str.1:                               ; @.str.1
	.asciz	"vwlan"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"can't get regulator\n"

l_.str.3:                               ; @.str.3
	.asciz	"can't get device tree parameters (%d)\n"

l_.str.4:                               ; @.str.4
	.asciz	"spi_setup failed\n"

	.comm	_PLATFORM_DEVID_AUTO,4,2        ; @PLATFORM_DEVID_AUTO
l_.str.5:                               ; @.str.5
	.asciz	"can't allocate platform_device\n"

	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
l_.str.6:                               ; @.str.6
	.asciz	"irq"

l_.str.7:                               ; @.str.7
	.asciz	"can't add resources\n"

l_.str.8:                               ; @.str.8
	.asciz	"can't add platform data\n"

l_.str.9:                               ; @.str.9
	.asciz	"can't register platform device\n"

	.no_dead_strip	_wl1271_probe
.subsections_via_symbols
