	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip101a_g_probe
_ip101a_g_probe:                        ## @ip101a_g_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	8(%rdi), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_IP101GR_SEL_INTR32_RXER@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	_IP101GR_SEL_INTR32_KEEP@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_IP101GR_SEL_INTR32_INTR@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r15, (%r14)
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"icplus,select-rx-error"

L_.str.1:                               ## @.str.1
	.asciz	"icplus,select-interrupt"

L_.str.2:                               ## @.str.2
	.asciz	"RXER and INTR mode cannot be selected together\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IP101GR_SEL_INTR32_RXER,4,2    ## @IP101GR_SEL_INTR32_RXER
	.comm	_IP101GR_SEL_INTR32_INTR,4,2    ## @IP101GR_SEL_INTR32_INTR
	.comm	_IP101GR_SEL_INTR32_KEEP,4,2    ## @IP101GR_SEL_INTR32_KEEP
	.no_dead_strip	_ip101a_g_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip101a_g_probe
_ip101a_g_probe:                        ; @ip101a_g_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
	add	x21, x0, #8
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #4
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_bool
	cbz	x0, LBB0_6
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_bool
	cbz	x0, LBB0_6
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_6:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_bool
	cbz	x0, LBB0_8
; %bb.7:
Lloh15:
	adrp	x8, _IP101GR_SEL_INTR32_RXER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IP101GR_SEL_INTR32_RXER@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_bool
Lloh19:
	adrp	x8, _IP101GR_SEL_INTR32_INTR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IP101GR_SEL_INTR32_INTR@GOTPAGEOFF]
Lloh21:
	adrp	x9, _IP101GR_SEL_INTR32_KEEP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IP101GR_SEL_INTR32_KEEP@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_9:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x20]
	str	x20, [x19]
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"icplus,select-rx-error"

l_.str.1:                               ; @.str.1
	.asciz	"icplus,select-interrupt"

l_.str.2:                               ; @.str.2
	.asciz	"RXER and INTR mode cannot be selected together\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IP101GR_SEL_INTR32_RXER,4,2    ; @IP101GR_SEL_INTR32_RXER
	.comm	_IP101GR_SEL_INTR32_INTR,4,2    ; @IP101GR_SEL_INTR32_INTR
	.comm	_IP101GR_SEL_INTR32_KEEP,4,2    ; @IP101GR_SEL_INTR32_KEEP
	.no_dead_strip	_ip101a_g_probe
.subsections_via_symbols
