	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irnet_find_lsap_sel
_irnet_find_lsap_sel:                   ## @irnet_find_lsap_sel
	.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, %rbx
	movq	_IRDA_SR_TRACE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_DENTER
	movl	8(%rbx), %edi
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	_IRDA_SR_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	callq	_DABORT
	movq	_LSAP_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IAS_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_irnet_getvalue_confirm@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdx
	callq	_iriap_open
	movl	%eax, 8(%rbx)
	movq	_EHOSTUNREACH@GOTPCREL(%rip), %rcx
	subl	(%rcx), %r15d
	movl	%r15d, 12(%rbx)
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	_IRNET_SERVICE_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IRNET_IAS_VALUE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	movl	%eax, %edi
	callq	_iriap_getvaluebyclass_request
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DEXIT
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRDA_SR_TRACE,4,2              ## @IRDA_SR_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(self=0x%p)\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_IRDA_SR_ERROR,4,2              ## @IRDA_SR_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"busy with a previous query.\n"

	.comm	_LSAP_ANY,4,2                   ## @LSAP_ANY
	.comm	_IAS_CLIENT,4,2                 ## @IAS_CLIENT
	.comm	_irnet_getvalue_confirm,4,2     ## @irnet_getvalue_confirm
	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
	.comm	_IRNET_SERVICE_NAME,4,2         ## @IRNET_SERVICE_NAME
	.comm	_IRNET_IAS_VALUE,4,2            ## @IRNET_IAS_VALUE
L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.no_dead_strip	_irnet_find_lsap_sel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irnet_find_lsap_sel
_irnet_find_lsap_sel:                   ; @irnet_find_lsap_sel
	.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, x0
Lloh0:
	adrp	x20, _IRDA_SR_TRACE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IRDA_SR_TRACE@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_DENTER
Lloh4:
	adrp	x8, _EBUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	ldr	w0, [x19, #8]
Lloh6:
	ldr	w8, [x8]
	neg	w1, w8
Lloh7:
	adrp	x8, _IRDA_SR_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IRDA_SR_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_DABORT
Lloh12:
	adrp	x8, _LSAP_ANY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LSAP_ANY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _IAS_CLIENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IAS_CLIENT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _irnet_getvalue_confirm@GOTPAGE
Lloh19:
	ldr	x8, [x8, _irnet_getvalue_confirm@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x2, x19
	bl	_iriap_open
Lloh21:
	adrp	x8, _EHOSTUNREACH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EHOSTUNREACH@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w8, w8
	stp	w0, w8, [x19, #8]
	ldp	w2, w1, [x19]
Lloh24:
	adrp	x8, _IRNET_SERVICE_NAME@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IRNET_SERVICE_NAME@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
Lloh27:
	adrp	x8, _IRNET_IAS_VALUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRNET_IAS_VALUE@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	bl	_iriap_getvaluebyclass_request
	ldr	w0, [x20]
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DEXIT
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IRDA_SR_TRACE,4,2              ; @IRDA_SR_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(self=0x%p)\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_IRDA_SR_ERROR,4,2              ; @IRDA_SR_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"busy with a previous query.\n"

	.comm	_LSAP_ANY,4,2                   ; @LSAP_ANY
	.comm	_IAS_CLIENT,4,2                 ; @IAS_CLIENT
	.comm	_irnet_getvalue_confirm,4,2     ; @irnet_getvalue_confirm
	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
	.comm	_IRNET_SERVICE_NAME,4,2         ; @IRNET_SERVICE_NAME
	.comm	_IRNET_IAS_VALUE,4,2            ; @IRNET_IAS_VALUE
l_.str.2:                               ; @.str.2
	.asciz	"\n"

	.no_dead_strip	_irnet_find_lsap_sel
.subsections_via_symbols
