	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_lid_from_name
_get_lid_from_name:                     ## @get_lid_from_name
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	_IB_SA_ATTR_NODERECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_get_all_records
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_EHOSTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	$0, -48(%rbp)
	je	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	-48(%rbp), %ebx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi
	movl	%ebx, %esi
	callq	_sa_get_query_rec
	testq	%r12, %r12
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	8(%rax), %rsi
	movq	%r12, %rdi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	(%r13), %edi
	callq	_cl_ntoh16
	movl	%eax, (%r14)
	xorl	%r15d, %r15d
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_sa_free_result_mad
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SA_ATTR_NODERECORD,4,2      ## @IB_SA_ATTR_NODERECORD
	.comm	_EHOSTDOWN,4,2                  ## @EHOSTDOWN
	.no_dead_strip	_get_lid_from_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_lid_from_name
_get_lid_from_name:                     ; @get_lid_from_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _IB_SA_ATTR_NODERECORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_SA_ATTR_NODERECORD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_get_all_records
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _EHOSTDOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EHOSTDOWN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_7
; %bb.2:
	mov	w22, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	ldr	w8, [sp, #8]
	cmp	w22, w8
	b.hs	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #12]
	mov	x1, x22
	bl	_sa_get_query_rec
	cbz	x21, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	x1, [x0, #8]
	mov	x0, x21
	mov	w2, #8
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.6:
	ldr	w0, [x23]
	bl	_cl_ntoh16
	mov	w20, #0
	str	w0, [x19]
LBB0_7:
	add	x0, sp, #8
	bl	_sa_free_result_mad
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SA_ATTR_NODERECORD,4,2      ; @IB_SA_ATTR_NODERECORD
	.comm	_EHOSTDOWN,4,2                  ; @EHOSTDOWN
	.no_dead_strip	_get_lid_from_name
.subsections_via_symbols
