	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpcb_getport_done
_rpcb_getport_done:                     ## @rpcb_getport_done
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rsi), %r12
	movl	(%rdi), %ebx
	movq	_EIO@GOTPCREL(%rip), %rax
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	(%rax), %eax
	addl	%ebx, %eax
	cmovel	%edx, %ebx
	cmpl	%edx, %ebx
	jne	LBB0_2
## %bb.1:
	incl	8(%r12)
LBB0_2:
	testl	%ebx, %ebx
	js	LBB0_3
## %bb.4:
	movq	(%r15), %rsi
	movq	(%r12), %rax
	movq	(%rax), %rax
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	callq	*%rax
	movq	%r12, %rdi
	callq	_xprt_set_bound
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	(%r12), %rax
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	jmp	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	*%rax
	movq	_EACCES@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_7:
	movl	4(%r14), %esi
	movq	(%r15), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_dprintk
	movl	%ebx, 8(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_EACCES,4,2                     ## @EACCES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC: %5u rpcb_getport_done(status %d, port %u)\n"

	.no_dead_strip	_rpcb_getport_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpcb_getport_done
_rpcb_getport_done:                     ; @rpcb_getport_done
	.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, x1
	mov	x20, x0
	ldr	x21, [x1, #16]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _EIO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _EPROTONOSUPPORT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EPROTONOSUPPORT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmn	w8, w9
	csneg	w22, w8, w10, ne
	cmn	w22, w10
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
LBB0_2:
	tbnz	w22, #31, LBB0_5
; %bb.3:
	ldr	x1, [x19]
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	cbz	x1, LBB0_6
; %bb.4:
	blr	x8
	mov	x0, x21
	bl	_xprt_set_bound
	mov	w22, #0
	b	LBB0_7
LBB0_5:
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, #0
	blr	x8
	b	LBB0_7
LBB0_6:
	blr	x8
Lloh6:
	adrp	x8, _EACCES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	ldr	w1, [x20, #4]
	ldr	x3, [x19]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dprintk
	str	w22, [x19, #8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_EACCES,4,2                     ; @EACCES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC: %5u rpcb_getport_done(status %d, port %u)\n"

	.no_dead_strip	_rpcb_getport_done
.subsections_via_symbols
