	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_irlmp_get_discoveries          ## -- Begin function irlmp_get_discoveries
	.p2align	4, 0x90
_irlmp_get_discoveries:                 ## @irlmp_get_discoveries
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_sysctl_discovery@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_DISCOVERY_DEFAULT_SLOTS@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_sysctl_discovery_slots@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_3:
	movl	%edx, %edi
	callq	_irlmp_do_discovery
LBB0_4:
	movq	_irlmp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_irlmp_copy_discoveries         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sysctl_discovery,4,2           ## @sysctl_discovery
	.comm	_DISCOVERY_DEFAULT_SLOTS,4,2    ## @DISCOVERY_DEFAULT_SLOTS
	.comm	_sysctl_discovery_slots,4,2     ## @sysctl_discovery_slots
	.comm	_irlmp,8,3                      ## @irlmp
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_irlmp_get_discoveries          ; -- Begin function irlmp_get_discoveries
	.p2align	2
_irlmp_get_discoveries:                 ; @irlmp_get_discoveries
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _sysctl_discovery@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sysctl_discovery@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _DISCOVERY_DEFAULT_SLOTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DISCOVERY_DEFAULT_SLOTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _sysctl_discovery_slots@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sysctl_discovery_slots@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w2
	csel	w0, w9, w2, eq
	bl	_irlmp_do_discovery
LBB0_2:
Lloh9:
	adrp	x8, _irlmp@GOTPAGE
Lloh10:
	ldr	x8, [x8, _irlmp@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _TRUE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh14:
	ldr	w3, [x9]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_irlmp_copy_discoveries
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_sysctl_discovery,4,2           ; @sysctl_discovery
	.comm	_DISCOVERY_DEFAULT_SLOTS,4,2    ; @DISCOVERY_DEFAULT_SLOTS
	.comm	_sysctl_discovery_slots,4,2     ; @sysctl_discovery_slots
	.comm	_irlmp,8,3                      ; @irlmp
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
