	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_irlap_qos_negotiate            ## -- Begin function irlap_qos_negotiate
	.p2align	4, 0x90
_irlap_qos_negotiate:                   ## @irlap_qos_negotiate
	.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
	movq	%rdi, %rbx
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	movq	_irlap_param_info@GOTPCREL(%rip), %rcx
	callq	_irda_param_extract_all
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_irda_qos_bits_to_value
	leaq	28(%rbx), %rdi
	callq	_irda_qos_bits_to_value
	movq	%rbx, %rdi
	callq	_irlap_adjust_qos_settings
	movl	24(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_IRDA_DEBUG
	movl	20(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	callq	_IRDA_DEBUG
	movl	16(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	callq	_IRDA_DEBUG
	movl	12(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edi
	callq	_IRDA_DEBUG
	movl	8(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	movl	$2, %edi
	callq	_IRDA_DEBUG
	movl	4(%rbx), %edx
	leaq	L_.str.5(%rip), %rsi
	movl	$2, %edi
	callq	_IRDA_DEBUG
	movl	(%rbx), %edx
	leaq	L_.str.6(%rip), %rsi
	movl	$2, %edi
	callq	_IRDA_DEBUG
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_irlap_param_info,4,2           ## @irlap_param_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting BAUD_RATE to %d bps.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Setting DATA_SIZE to %d bytes\n"

L_.str.2:                               ## @.str.2
	.asciz	"Setting WINDOW_SIZE to %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Setting XBOFS to %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Setting MAX_TURN_TIME to %d ms.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Setting MIN_TURN_TIME to %d usecs.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Setting LINK_DISC to %d secs.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_irlap_qos_negotiate            ; -- Begin function irlap_qos_negotiate
	.p2align	2
_irlap_qos_negotiate:                   ; @irlap_qos_negotiate
	.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
	ldp	w2, w8, [x1]
Lloh0:
	adrp	x3, _irlap_param_info@GOTPAGE
Lloh1:
	ldr	x3, [x3, _irlap_param_info@GOTPAGEOFF]
	mov	x1, x8
	bl	_irda_param_extract_all
	mov	x20, x0
	mov	x0, x19
	bl	_irda_qos_bits_to_value
	add	x0, x19, #28
	bl	_irda_qos_bits_to_value
	mov	x0, x19
	bl	_irlap_adjust_qos_settings
	ldr	w2, [x19, #24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_IRDA_DEBUG
	ldr	w2, [x19, #20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_IRDA_DEBUG
	ldr	w2, [x19, #16]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #2
	bl	_IRDA_DEBUG
	ldr	w2, [x19, #12]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_IRDA_DEBUG
	ldr	w2, [x19, #8]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #2
	bl	_IRDA_DEBUG
	ldr	w2, [x19, #4]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #2
	bl	_IRDA_DEBUG
	ldr	w2, [x19]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #2
	bl	_IRDA_DEBUG
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_irlap_param_info,4,2           ; @irlap_param_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting BAUD_RATE to %d bps.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Setting DATA_SIZE to %d bytes\n"

l_.str.2:                               ; @.str.2
	.asciz	"Setting WINDOW_SIZE to %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Setting XBOFS to %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Setting MAX_TURN_TIME to %d ms.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Setting MIN_TURN_TIME to %d usecs.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Setting LINK_DISC to %d secs.\n"

.subsections_via_symbols
