	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt753x_nl_parse_find_gsw
_mt753x_nl_parse_find_gsw:              ## @mt753x_nl_parse_find_gsw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_MT753X_ATTR_TYPE_DEV_ID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_nla_get_s32
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, %edi
	popq	%rbp
	jmp	_mt753x_get_gsw                 ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_mt753x_get_first_gsw           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT753X_ATTR_TYPE_DEV_ID,8,3    ## @MT753X_ATTR_TYPE_DEV_ID
	.no_dead_strip	_mt753x_nl_parse_find_gsw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt753x_nl_parse_find_gsw
_mt753x_nl_parse_find_gsw:              ; @mt753x_nl_parse_find_gsw
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MT753X_ATTR_TYPE_DEV_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MT753X_ATTR_TYPE_DEV_ID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_nla_get_s32
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_mt753x_get_gsw
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_mt753x_get_first_gsw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT753X_ATTR_TYPE_DEV_ID,8,3    ; @MT753X_ATTR_TYPE_DEV_ID
	.no_dead_strip	_mt753x_nl_parse_find_gsw
.subsections_via_symbols
