	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gb_svc_process_hello_deferred
_gb_svc_process_hello_deferred:         ## @gb_svc_process_hello_deferred
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -24
	movq	(%rdi), %rdi
	callq	_gb_connection_get_data
	movq	%rax, %rbx
	movl	4(%rax), %esi
	movq	_GB_SVC_UNIPRO_HS_SERIES_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GB_SVC_UNIPRO_SLOW_AUTO_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GB_SVC_SMALL_AMPLITUDE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GB_SVC_NO_DE_EMPHASIS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rsp)
	movl	%ecx, 16(%rsp)
	movl	%edi, 8(%rsp)
	movl	%eax, (%rsp)
	movl	$0, 48(%rsp)
	movl	$0, 40(%rsp)
	movl	$1, 32(%rsp)
	movl	$2, 24(%rsp)
	movq	%rbx, %rdi
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_gb_svc_intf_set_power_mode
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_1:
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GB_SVC_UNIPRO_HS_SERIES_A,4,2  ## @GB_SVC_UNIPRO_HS_SERIES_A
	.comm	_GB_SVC_UNIPRO_SLOW_AUTO_MODE,4,2 ## @GB_SVC_UNIPRO_SLOW_AUTO_MODE
	.comm	_GB_SVC_SMALL_AMPLITUDE,4,2     ## @GB_SVC_SMALL_AMPLITUDE
	.comm	_GB_SVC_NO_DE_EMPHASIS,4,2      ## @GB_SVC_NO_DE_EMPHASIS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"power mode change failed on AP to switch link: %d\n"

	.no_dead_strip	_gb_svc_process_hello_deferred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gb_svc_process_hello_deferred
_gb_svc_process_hello_deferred:         ; @gb_svc_process_hello_deferred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	ldr	x0, [x0]
	bl	_gb_connection_get_data
	mov	x19, x0
	ldr	w1, [x0, #4]
Lloh0:
	adrp	x8, _GB_SVC_UNIPRO_HS_SERIES_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GB_SVC_UNIPRO_HS_SERIES_A@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _GB_SVC_UNIPRO_SLOW_AUTO_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GB_SVC_UNIPRO_SLOW_AUTO_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _GB_SVC_SMALL_AMPLITUDE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GB_SVC_SMALL_AMPLITUDE@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
Lloh9:
	adrp	x8, _GB_SVC_NO_DE_EMPHASIS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GB_SVC_NO_DE_EMPHASIS@GOTPAGEOFF]
Lloh11:
	ldr	w7, [x8]
	stp	xzr, xzr, [sp, #24]
	stur	xzr, [sp, #12]
	mov	x8, #2
	movk	x8, #1, lsl #32
	stur	x8, [sp, #4]
	str	w3, [sp]
	mov	w4, #2
	mov	w5, #1
	bl	_gb_svc_intf_set_power_mode
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dev_warn
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GB_SVC_UNIPRO_HS_SERIES_A,4,2  ; @GB_SVC_UNIPRO_HS_SERIES_A
	.comm	_GB_SVC_UNIPRO_SLOW_AUTO_MODE,4,2 ; @GB_SVC_UNIPRO_SLOW_AUTO_MODE
	.comm	_GB_SVC_SMALL_AMPLITUDE,4,2     ; @GB_SVC_SMALL_AMPLITUDE
	.comm	_GB_SVC_NO_DE_EMPHASIS,4,2      ; @GB_SVC_NO_DE_EMPHASIS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"power mode change failed on AP to switch link: %d\n"

	.no_dead_strip	_gb_svc_process_hello_deferred
.subsections_via_symbols
