	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gem_get_hwtst                  ## -- Begin function gem_get_hwtst
	.p2align	4, 0x90
_gem_get_hwtst:                         ## @gem_get_hwtst
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	_HW_DMA_CAP_PTP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	addq	$4, %rax
	movl	(%rbx), %edi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_copy_to_user
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_DMA_CAP_PTP,4,2             ## @HW_DMA_CAP_PTP
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gem_get_hwtst                  ; -- Begin function gem_get_hwtst
	.p2align	2
_gem_get_hwtst:                         ; @gem_get_hwtst
	.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, x1
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HW_DMA_CAP_PTP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HW_DMA_CAP_PTP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	add	x1, x0, #4
	ldr	w0, [x19]
	mov	w2, #4
	bl	_copy_to_user
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_DMA_CAP_PTP,4,2             ; @HW_DMA_CAP_PTP
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
