	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_srab_probe
_b53_srab_probe:                        ## @b53_srab_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rsi
	movq	8(%rdi), %r14
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	_b53_srab_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	%rax, (%r14)
LBB0_6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movl	%eax, (%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_b53_srab_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_b53_switch_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_12
## %bb.11:
	movq	%r14, (%rbx)
LBB0_12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%r15, %rdi
	callq	_b53_srab_prepare_irq
	movq	%r15, %rdi
	callq	_b53_srab_mux_init
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b53_switch_register            ## TAILCALL
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_4:
	subl	(%rax), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_b53_srab_of_match,4,2          ## @b53_srab_of_match
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_b53_srab_ops,4,2               ## @b53_srab_ops
	.no_dead_strip	_b53_srab_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_srab_probe
_b53_srab_probe:                        ; @b53_srab_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldp	x1, x20, [x0]
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	cbz	x1, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _b53_srab_of_match@GOTPAGE
Lloh3:
	ldr	x8, [x8, _b53_srab_of_match@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_of_match_node
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #8
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	x8, [x21]
	str	x8, [x0]
LBB0_4:
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #4
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.5:
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	w0, [x21]
	bl	_IS_ERR
	cbz	x0, LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh8:
	adrp	x1, _b53_srab_ops@GOTPAGE
Lloh9:
	ldr	x1, [x1, _b53_srab_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x21
	bl	_b53_switch_alloc
	cbz	x0, LBB0_6
; %bb.8:
	mov	x21, x0
	cbz	x20, LBB0_10
; %bb.9:
	str	x20, [x21]
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_b53_srab_prepare_irq
	mov	x0, x19
	bl	_b53_srab_mux_init
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_b53_switch_register
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_b53_srab_of_match,4,2          ; @b53_srab_of_match
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_b53_srab_ops,4,2               ; @b53_srab_ops
	.no_dead_strip	_b53_srab_probe
.subsections_via_symbols
